@charset "utf-8";
/*---------------------------------------------------*/
/*	01) BASE
/*---------------------------------------------------*/

html {
	overflow-x: hidden;
	padding: 0px;
	margin: 0px
}
body{
	font-family: "Mulish";
	font-size: 16px;
	line-height: 40px;
	letter-spacing: 0.5px;
	line-height: 1;
	word-wrap: break-word;
	font-weight: 400;
	background-color: #fff;
	color: #767676;
	overflow-x: hidden;
	width: 100%;
}
body::-webkit-scrollbar {
  width: 11px;
}
body{
  scrollbar-width: thin;
  scrollbar-color: #999 #fff;
}
body:-webkit-scrollbar-track {
  background: #fff;
}
body::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 6px;
  border: 3px solid #fff;
}
svg{
	fill: currentcolor;
	width: 15px;
	height: 15px;
}
img.svg{
	width: 15px;
	height: 15px;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #767676;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #767676;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #767676;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #767676;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color: #767676;
}

::placeholder { /* Most modern browsers support this now. */
   color: #767676;
}

.container{
	max-width: 1250px;
	width:100%;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	height:auto;
	padding:0px 40px;
	position:relative;
	clear:both;
}

h1, h2, h3, h4, h5, h6{
	font-weight:600;
	line-height: 1.4;
	font-family: "Poppins";
	color: #000;
}

h1 { font-size: 45px; }
h2 { font-size: 36px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

.rish_tm_all_wrap{
	width: 100%;
	height: auto;
	clear: both;
	float: left;
	position: relative;
}
.rish_tm_all_wrap,
.rish_tm_all_wrap *{
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	   -moz-box-sizing: border-box; /* Firefox, other Gecko */
			box-sizing: border-box; /* Opera/IE 8+ */
}

#preloader{
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 99999;
    display: flex;
}
#preloader:before,
#preloader:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
    background-color: #000;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
#preloader:after{
    left: auto;
    right: 0;
}
#preloader .loader_line{
    margin: auto;
    width: 1px;
    height: 250px;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
}
.loader_line:before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 0%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #fff;
    -webkit-animation: lineheight 1000ms ease-in-out 0s forwards;
    -o-animation: lineheight 1000ms ease-in-out 0s forwards;
    animation: lineheight 1000ms ease-in-out 0s forwards;
}
.loader_line:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #999;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-animation: lineround 1200ms linear 0s infinite;
    -o-animation: lineround 1200ms linear 0s infinite;
    animation: lineround 1200ms linear 0s infinite;
    animation-delay: 2000ms;
}

@keyframes lineheight{
    0%{
        height: 0%;
    }
    100%{
        height: 100%;
    }
}

@keyframes lineround{
    0%{
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        transform: translateY(-100%);
    }
    100%{
        -webkit-transform: translateY(200%);
        -ms-transform: translateY(200%);
        -o-transform: translateY(200%);
        transform: translateY(200%);
    }
}

/*hiding all*/
.preloaded .loader_line:after{
    opacity: 0;
}
.preloaded  .loader_line{
    opacity: 0;
    height: 100%!important;
}
.preloaded:before,
.preloaded:after{
    -webkit-animation: preloadedzero 300ms ease-in-out 500ms forwards;
    -o-animation: preloadedzero 300ms ease-in-out 500ms forwards;
    animation: preloadedzero 300ms ease-in-out 500ms forwards;
}
@keyframes preloadedzero{
    0%{
        width: 50%;
    }
    100%{
        width: 0%;
    }
}
.rish_tm_section{
	width: 100%;
	height: auto;
	clear: both;
	float: left;
}

/*---------------------------------------------------*/
/* 02) TOPBAR */
/*---------------------------------------------------*/

.rish_tm_topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: block;
}

.rish_tm_topbar.animate {
    background-color: rgba(255,255,255,1.00);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.rish_tm_topbar .topbar_inner {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px 20px 50px;
}

.rish_tm_topbar .logo img {
    max-width: 90px;
    max-height: 70px;
}

.rish_tm_topbar .menu {
    display: flex;
    align-items: center;
}

.rish_tm_topbar .list ul {
    margin: 0;
    list-style-type: none;
    display: flex;
}

.rish_tm_topbar .list ul li {
    margin: 0 20px 0 0;
    display: inline-block;
    opacity: 1; /* Changed: Visible by default */
    visibility: visible; /* Changed: Visible by default */
    position: relative;
    left: 0; /* Changed: No offset */
    transition: none; /* Changed: Remove transition */
}

.rish_tm_topbar .list ul li:last-child {
    margin-right: 0;
}

.rish_tm_topbar .list ul li a {
    text-decoration: none;
    color: #000;
    font-family: "Poppins";
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.rish_tm_topbar .list ul li a:hover,
.rish_tm_topbar .list ul li.current a {
    color: #dc143c;
}

/*---------------------------------------------------*/
/* 03) MOBILE MENU */
/*---------------------------------------------------*/
.rish_tm_mobile_menu {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 10;
}

.rish_tm_mobile_menu .mobile_menu_inner {
    width: 100%;
    height: auto;
    clear: both;
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 15px 30px 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.rish_tm_mobile_menu .mobile_in {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rish_tm_mobile_menu .mobile_in .logo img {
    max-width: 80px;
    max-height: 70px;
}

.rish_tm_mobile_menu .trigger {
    line-height: 0;
}

.rish_tm_mobile_menu .hamburger {
    padding: 0;
}

.rish_tm_mobile_menu .hamburger-inner,
.rish_tm_mobile_menu .hamburger-inner::before,
.rish_tm_mobile_menu .hamburger-inner::after {
    height: 2px;
    width: 30px;
    background-color: #333;
    transition: all 0.3s ease;
}

.rish_tm_mobile_menu .dropdown {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 100%;
    background-color: #fff; /* Changed: Solid white for full-screen */
    z-index: 9;
    display: flex; /* Added: Flex for centering */
    align-items: center; /* Added: Center vertically */
    justify-content: center; /* Added: Center horizontally */
    transition: left 0.3s ease;
}

.rish_tm_mobile_menu .dropdown.active {
    left: 0;
}

.rish_tm_mobile_menu .dropdown_inner {
    width: 100%;
    max-width: 400px; /* Added: Limit width for readability */
    padding: 20px;
    text-align: center;
}

.rish_tm_mobile_menu .dropdown_inner ul {
    margin: 0;
    list-style-type: none;
}

.rish_tm_mobile_menu .dropdown_inner ul li {
    margin: 15px 0; /* Adjusted: Consistent spacing */
    width: 100%;
    opacity: 1; /* Changed: Visible by default */
    transform: none; /* Changed: No transform */
    transition: none; /* Changed: No transition */
}

.rish_tm_mobile_menu .dropdown_inner ul li a {
    text-decoration: none;
    color: #000;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 20px; /* Adjusted: Slightly smaller for mobile */
    transition: color 0.3s ease;
}

.rish_tm_mobile_menu .dropdown_inner ul li a:hover,
.rish_tm_mobile_menu .dropdown_inner ul li.current a {
    color: #dc143c;
}

.rish_tm_mobile_menu .close_button {
    margin-top: 30px;
}

.rish_tm_mobile_menu .close_button a {
    text-decoration: none;
    color: #fff;
    background-color: #dc143c;
    padding: 10px 30px;
    border-radius: 50px;
    font-family: "Poppins";
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.rish_tm_mobile_menu .close_button a:hover {
    background-color: transparent;
    color: #dc143c;
    border: 2px solid #dc143c;
}

/* Responsive adjustments */
@media (max-width: 1040px) {
    .rish_tm_topbar {
        display: none;
    }
    .rish_tm_mobile_menu {
        display: block;
    }
}

/*---------------------------------------------------*/
/* 04) Home */
/*---------------------------------------------------*/

.rish_tm_hero {
    width: 100%;
    height: 100vh;
    float: left;
    position: relative;
    background-color: #f9f9f9;
}

.rish_tm_hero .container {
    height: 100vh;
}

.rish_tm_hero .content {
    width: 100%;
    height: 100%;
    clear: both;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rish_tm_hero .texts {
    margin-bottom: 5px;
    padding-right: 50px;
    line-height: 1;
}

.rish_tm_hero .job {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    line-height: normal;
}

.rish_tm_hero .job h3 {
    background-color: #f9f9f900;
    mix-blend-mode: normal;
    position: relative;
    z-index: 5;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.3;
}

.rish_tm_hero .desc {
    width: 100%;
    float: left;
    margin-bottom: 40px;
}

.auto-input {
    color: crimson;
}

.rish_tm_hero .desc p {
    max-width: 600px;
    line-height: 1;
    padding: auto;
    font-size: 16px;
}

.rish_tm_button {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
}

.rish_tm_button a {
    text-decoration: none;
    color: #fff;
    background-color: #dc143c;
    border: 2px solid #dc143c;
    display: inline-block;
    padding: 15px 50px;
    font-family: "Poppins";
    border-radius: 50px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.rish_tm_button a:hover {
    background-color: transparent;
    color: #000;
}

.rish_tm_hero .avatar {
    min-width: 450px;
    min-height: 450px;
    position: relative;
    border-radius: 100%;
}

.rish_tm_hero .avatar .image {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    animation: morph 8s ease-in-out infinite 1s;
    background-blend-mode: multiply;
    -webkit-box-shadow: inset 0px 0px 0px 18px rgba(255,255,255,.3);
    -moz-box-shadow: inset 0px 0px 0px 18px rgba(255,255,255,.3);
    box-shadow: inset 0px 0px 0px 18px rgba(255,255,255,.3);
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Minimal animation for small screens */
@media screen and (max-width: 768px) {
    .rish_tm_hero .avatar .image {
        animation: morph-minimal 20s ease-in-out infinite 1s;
    }

    @keyframes morph-minimal {
        0% {
            border-radius: 52% 48% 45% 55% / 52% 45% 55% 48%;
        }
        50% {
            border-radius: 48% 52% 55% 45% / 50% 52% 45% 50%;
        }
        100% {
            border-radius: 52% 48% 45% 55% / 52% 45% 55% 48%;
        }
    }
}

@media screen and (max-width: 480px) {
    .rish_tm_hero .avatar .image {
        animation: morph-ultra-minimal 24s ease-in-out infinite 1s;
    }

    @keyframes morph-ultra-minimal {
        0% {
            border-radius: 51% 49% 48% 52% / 51% 48% 52% 49%;
        }
        50% {
            border-radius: 49% 51% 52% 48% / 50% 51% 48% 50%;
        }
        100% {
            border-radius: 51% 49% 48% 52% / 51% 48% 52% 49%;
        }
    }
}

.short_skills {
    width: 100%;
    clear: both;
    display: flex;
    align-items: center;
    line-height: 1;
    position: absolute;
    bottom: 2%;
    left: auto;
}

.short_skills .text {
    position: relative;
    color: #000;
}

.short_skills .text:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 50px;
    background-color: rgba(0,0,0,.1);
    top: -5px;
    left: 100%;
    margin-left: 30px;
}

.short_skills .text span {
    line-height: 1;
    font-size: 13px;
    font-family: "Poppins";
}

.short_skills .icons {
    margin-left: 80px;
}

.short_skills .icons ul {
    margin: 0px;
    list-style-type: none;
    display: flex;
}

.short_skills .icons ul li {
    margin: 0px 20px 10px 0px;
    float: left;
    width: 65px;
    height: 65px;
    background-color: #fff;
    border-radius: 100%;
    position: relative;
    box-shadow: 0px 0px 10px rgba(0,0,0,.09);
}

.short_skills .icons ul li:last-child {
    margin-right: 0px;
}

.short_skills .icons ul li .svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 25px;
    height: 25px;
}

/*---------------------------------------------------*/
/* 05) ABOUT ME */
/*---------------------------------------------------*/

.rish_tm_about {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding: 70px 0px 100px 0px;
}

.rish_tm_about .about_inner {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    align-items: stretch;
}

.rish_tm_about .left {
    width: 50%;
    margin-right: 50px;
}

.rish_tm_about .left .image {
    position: relative;
    height: 100%;
}

.rish_tm_about .left .image img {
    position: relative;
    min-width: 100%;
    opacity: 0;
}

.rish_tm_about .left .image .main {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

.rish_tm_about .right {
    width: 50%;
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rish_tm_title {
    width: 100%;
    max-width: 700px;
    height: auto;
    clear: both;
    text-align: center;
    margin: 0 auto;
}

.rish_tm_title span {
    font-family: "Poppins";
    font-weight: 600;
    text-transform: uppercase;
    color: #dc143c;
    display: inline-block;
    margin-bottom: 10px;
}

.rish_tm_title h3 {
    font-weight: 700;
}

.rish_tm_about .text {
    width: 100%;
    text-align: justify;
    padding-top: 30px;
    margin-bottom: 35px;
}

.rish_tm_about .personal-info {
    width: 100%;
    margin-bottom: 20px;
}

.rish_tm_about .personal-info h4 {
    font-weight: bold;
    margin-bottom: 10px;
}

.rish_tm_about .personal-info .info-columns {
    display: flex;
    justify-content: space-between;
}

.rish_tm_about .personal-info ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.rish_tm_about .personal-info ul li {
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.rish_tm_about .personal-info ul li span:nth-child(1) {
    font-weight: 600;
    color: #dc143c;
    min-width: 100px;
    display: inline-block;
    text-align: left;
}

.rish_tm_about .personal-info ul li span:nth-child(2) {
    width: 10px;
    text-align: center;
    color: #dc143c;
    margin: 0 10px;
}

.rish_tm_about .personal-info ul li span:nth-child(3) {
    flex: 1;
}

.rish_tm_about .personal-info ul li:last-child {
    margin-bottom: 0;
}

.rish_tm_button {
    width: 100%;
    margin-top: auto;
}

.rish_tm_button a {
    display: inline-flex;
    align-items: center;
    padding: 10px 30px;
    background-color: #dc143c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.rish_tm_button a i {
    margin-right: 10px;
    font-size: 16px;
}

.rish_tm_button a:hover {
    background-color: #fff;
    color: #dc143c;
    border: 1px solid #dc143c;
}

.rish_tm_button a:hover i {
    color: #dc143c;
}

/*---------------------------------------------------*/
/* 06) SKILLS */
/*---------------------------------------------------*/

.rish_tm_skills {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding: 100px 0px;
    background-color: #ffffff;
}

.rish_tm_skills .section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.rish_tm_skills .section-heading h3 {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: "Poppins";
}

.rish_tm_skills .skills_inner {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.rish_tm_skills .skill-column {
    flex: 1;
}

.rish_tm_skills .large-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 8px;
}

.rish_tm_skills .large-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 1px;
    background-color: #dc143c;
    transition: width 0.3s ease;
}

.rish_tm_skills .large-title:hover::after {
    width: 100%;
}

.rish_tm_skills .large-title i {
    margin-right: 8px;
    font-size: 18px;
    color: #dc143c;
}

.rish_progress .progress_inner {
    width: 100%;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.rish_progress .progress_inner:hover {
    transform: translateY(-2px);
}

.rish_progress .progress_inner .label {
    font-weight: 500;
    font-size: 12px;
    color: #333;
    display: inline-block;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rish_progress .progress_inner .number {
    float: right;
    font-size: 12px;
    color: #333;
}

.rish_progress .progress_inner .bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;
}

.rish_progress .progress_inner .bar_in {
    height: 100%;
    width: 0%;
    background-color: #dc143c;
    transition: width 2s ease;
}

.rish_progress .progress_inner .bar.open .bar_in {
    width: inherit;
}

/* Responsive adjustments for Skills */
@media (max-width: 1040px) {
    .rish_tm_skills .skills_inner {
        flex-direction: column;
        gap: 40px;
    }
    .rish_tm_skills .skill-column {
        width: 100%;
    }
    .rish_tm_skills .section-heading h3 {
        font-size: 36px;
    }
    .rish_progress .progress_inner .label,
    .rish_progress .progress_inner .number {
        font-size: 11px;
    }
}

/*---------------------------------------------------*/
/* 07) EDUCATION & EXPERIENCE */
/*---------------------------------------------------*/

.rish_tm_education_experience {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding: 100px 0px;
    background-color: #ffffff;
}

.rish_tm_education_experience .section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.rish_tm_education_experience .section-heading h3 {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: "Poppins";
}

.rish_tm_education_experience .education_experience_inner {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.rish_tm_education_experience .education-left,
.rish_tm_education_experience .experience-right {
    flex: 1;
}

.rish_tm_education_experience .large-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 8px;
}

.rish_tm_education_experience .large-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 1px;
    background-color: #dc143c;
    transition: width 0.3s ease;
}

.rish_tm_education_experience .large-title:hover::after {
    width: 100%;
}

.rish_tm_education_experience .large-title i {
    margin-right: 8px;
    font-size: 18px;
    color: #dc143c;
}

.rish_tm_education_experience .education-left ul,
.rish_tm_education_experience .experience-right ul {
    list-style: none;
    padding: 0;
}

.rish_tm_education_experience .education-left ul li,
.rish_tm_education_experience .experience-right ul li {
    margin-bottom: 20px;
}

.rish_tm_education_experience .experience-right ul li {
    display: flex;
    align-items: center;
}

.rish_tm_education_experience .experience-right ul li .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.rish_tm_education_experience .experience-right ul li .logo:hover {
    transform: scale(1.1);
}

.rish_tm_education_experience .experience-right ul li .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rish_tm_education_experience .experience-right ul li .details {
    flex: 1;
}

.rish_tm_education_experience .education-left ul li .year,
.rish_tm_education_experience .experience-right ul li .year {
    font-weight: 600;
    color: #dc143c;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.rish_tm_education_experience .education-left ul li h5,
.rish_tm_education_experience .experience-right ul li h5 {
    font-weight: 500;
    margin: 0;
    font-size: 14px;
    color: #333;
}

.rish_tm_education_experience .education-left ul li p,
.rish_tm_education_experience .experience-right ul li p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #666;
}

/* Responsive adjustments for Education & Experience */
@media (max-width: 1040px) {
    .rish_tm_education_experience .education_experience_inner {
        flex-direction: column;
        gap: 40px;
    }
    .rish_tm_education_experience .education-left,
    .rish_tm_education_experience .experience-right {
        width: 100%;
    }
    .rish_tm_education_experience .section-heading h3 {
        font-size: 36px;
    }
    .rish_tm_education_experience .experience-right ul li {
        flex-direction: column;
        align-items: flex-start;
    }
    .rish_tm_education_experience .experience-right ul li .logo {
        margin-bottom: 15px;
        margin-right: 0;
    }
}
/*---------------------------------------------------*/
/* 06) PORTFOLIO */
/*---------------------------------------------------*/

.rish_tm_portfolio {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding: 70px 0px 50px 0px; /* Reduced from 140px 0px 100px 0px */
    background-color: #f9f9f9;
}

.rish_tm_portfolio .portfolio_inner {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
}

.rish_tm_portfolio .portfolio_list {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding-top: 50px;
}

.rish_tm_portfolio .portfolio_list ul {
    margin: 0px 0px 0px -50px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

.rish_tm_portfolio .portfolio_list ul li {
    margin: 0px 0px 20px 0px;
    width: 33.3333%;
    float: left;
    padding-left: 30px;
    display: none; /* All hidden by default */
}

.rish_tm_portfolio .portfolio_list ul li.visible {
    display: block; /* Show items with .visible class */
}

.rish_tm_portfolio .portfolio_list ul li .list_inner {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    position: relative;
}

.rish_tm_portfolio .portfolio_list ul li .image {
    position: relative;
}

.rish_tm_portfolio .portfolio_list ul li .image img {
    position: relative;
    min-width: 100%;
    opacity: 0;
}

.rish_tm_portfolio .portfolio_list ul li .image .main {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

/* Portfolio Filter */
.rish_tm_portfolio .portfolio_filter {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    text-align: center;
    padding-top: 20px;
}

.rish_tm_portfolio .portfolio_filter ul {
    margin: 0;
    list-style-type: none;
}

.rish_tm_portfolio .portfolio_filter ul li {
    display: inline-block;
    margin: 0 30px 10px 0;
}

.rish_tm_portfolio .portfolio_filter ul li a {
    text-decoration: none;
    color: #000;
    font-family: "Poppins";
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.rish_tm_portfolio .portfolio_filter ul li a:hover,
.rish_tm_portfolio .portfolio_filter ul li a.current {
    background-color: #dc143c;
    color: #fff;
}

/* Load More Button */
.rish_tm_portfolio .load_more {
    width: 100%;
    text-align: center;
    padding-top: 40px;
    clear: both;
}

.rish_tm_portfolio .load_more button {
    background-color: #dc143c;
    color: #fff;
    border: 2px solid #dc143c;
    padding: 15px 50px;
    font-family: "Poppins";
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rish_tm_portfolio .load_more button:hover {
    background-color: transparent;
    color: #000;
}

.rish_tm_portfolio .portfolio_list ul li .image .main:before {
    background-color: #000;
    content: '';
    height: 100%;
    position: absolute;
    transition: all .2s;
    transition-delay: .2s;
    transform: translateY(0px) translateX(0px);
    width: 100%;
    z-index: -1;
    border-radius: 10px;
}

.rish_tm_portfolio .portfolio_list ul li .image .main:after {
    background-color: #dc143c;
    content: '';
    height: 100%;
    position: absolute;
    transition: all .2s;
    transition-delay: .2s;
    transform: translateY(0px) translateX(0px);
    width: 100%;
    z-index: -1;
    border-radius: 10px;
}

.rish_tm_portfolio .portfolio_list ul li .list_inner:hover {
    animation-name: hoverPop;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}

.rish_tm_portfolio .portfolio_list ul li .list_inner:hover .main:before {
    animation: slick-hover-2 3s .4s linear infinite;
    transform: translateY(-20px) translateX(-20px);
}

.rish_tm_portfolio .portfolio_list ul li .list_inner:hover .main:after {
    animation: slick-hover 3s .4s linear infinite reverse;
    transform: translateY(20px) translateX(20px);
}

@keyframes hoverPop {
    0%, 100% { transform: scale(1); }
    33% { transform: scale(1.05); }
    66% { transform: scale(.90); }
}

@keyframes slick-hover {
    0.00% { transform: translateY(20px) translateX(20px); }
    16.67% { transform: translateY(-13px) translateX(-9px); }
    33.33% { transform: translateY(4px) translateX(12px); }
    50.00% { transform: translateY(20px) translateX(-20px); }
    66.67% { transform: translateY(-3px) translateX(8px); }
    83.33% { transform: translateY(-15px) translateX(-11px); }
    100.00% { transform: translateY(20px) translateX(20px); }
}

@keyframes slick-hover-2 {
    0.00% { transform: translateY(-20px) translateX(-20px); }
    16.67% { transform: translateY(3px) translateX(-5px); }
    33.33% { transform: translateY(18px) translateX(-10px); }
    50.00% { transform: translateY(-20px) translateX(20px); }
    66.67% { transform: translateY(15px) translateX(-4px); }
    83.33% { transform: translateY(-1px) translateX(15px); }
    100.00% { transform: translateY(-20px) translateX(-20px); }
}

.rish_tm_portfolio .portfolio_list .overlay {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 2;
    background-color: rgba(0,0,0,.5);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.rish_tm_portfolio .portfolio_list .list_inner:hover .overlay {
    opacity: 1;
    visibility: visible;
}

.rish_tm_portfolio .portfolio_list .details {
    position: absolute;
    z-index: 3;
    bottom: 35px;
    left: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.rish_tm_portfolio .portfolio_list .list_inner:hover .details {
    opacity: 1;
    visibility: visible;
}

.rish_tm_portfolio .portfolio_list .details h3 {
    font-size: 20px;
    color: #fff;
}

.rish_tm_portfolio .portfolio_list .details span {
    color: #ddd;
    font-family: "Poppins";
}

.rish_tm_full_link {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 5;
}

.rish_tm_portfolio .popup_details {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: -11;
    display: none;
}

.rish_tm_modalbox .portfolio_hidden_infos {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
}

.rish_tm_modalbox .popup_details {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
}

.rish_tm_modalbox .popup_details .top_image {
    position: relative;
    overflow: hidden;
    margin-bottom: 37px;
}

.rish_tm_modalbox .popup_details .top_image img {
    position: relative;
    min-width: 100%;
    opacity: 0;
    margin-bottom: -50%;
}

.rish_tm_modalbox .popup_details .top_image .main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100%;
    min-width: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.rish_tm_modalbox .portfolio_main_title {
    width: 100%;
    float: left;
    margin-bottom: 28px;
}

.rish_tm_modalbox .portfolio_main_title h3 {
    font-weight: 600;
    font-size: 48px;
    margin-bottom: 5px;
}

.rish_tm_modalbox .main_details {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    margin-bottom: 55px;
}

.rish_tm_modalbox .main_details .textbox {
    width: 70%;
    padding-right: 40px;
}

.rish_tm_modalbox .main_details .textbox p {
    margin-bottom: 18px;
}

.rish_tm_modalbox .main_details .textbox p:last-child {
    margin-bottom: 0px;
}

.rish_tm_modalbox .main_details .detailbox {
    width: 30%;
    padding-left: 40px;
}

.rish_tm_modalbox .main_details .detailbox > ul {
    margin: 0px;
    list-style-type: none;
}

.rish_tm_modalbox .main_details .detailbox > ul > li {
    margin: 0px 0px 8px 0px;
    width: 100%;
    float: left;
}

.rish_tm_modalbox .main_details .detailbox > ul > li:last-child {
    margin-bottom: 0px;
}

.rish_tm_modalbox .main_details .detailbox .first {
    font-weight: 700;
    display: block;
    color: #000;
    margin-bottom: 3px;
}

.rish_tm_modalbox .main_details .detailbox span a {
    text-decoration: none;
    color: #767676;
    transition: all .3s ease;
}

.rish_tm_modalbox .main_details .detailbox span a:hover {
    color: #000;
    letter-spacing: 2px;
}

.rish_tm_modalbox .main_details .detailbox .share {
    margin: 0px;
    list-style-type: none;
    position: relative;
    top: 7px;
}

.rish_tm_modalbox .main_details .detailbox .share li {
    margin: 0px 13px 0px 0px;
    display: inline-block;
}

.rish_tm_modalbox .main_details .detailbox .share li:last-child {
    margin-right: 0px;
}

.rish_tm_modalbox .main_details .detailbox .share li a {
    text-decoration: none;
    color: #000;
}

.rish_tm_modalbox .additional_images {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
}

.rish_tm_modalbox .additional_images ul {
    margin: 0px 0px 0px -30px;
    list-style-type: none;
}

.rish_tm_modalbox .additional_images ul li {
    margin: 0px 0px 30px 0px;
    float: left;
    width: 50%;
    padding-left: 30px;
    transition: all 0.3s ease; /* Added for smooth hover effect */
}

.rish_tm_modalbox .additional_images ul li:nth-child(3n-2) {
    width: 100%;
}

/* Added: Enhance showcase for projects with multiple images */
.rish_tm_modalbox .additional_images ul li:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.rish_tm_modalbox .additional_images ul li .list_inner {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    position: relative;
    overflow: hidden; /* Ensure zoomed images don’t overflow */
}

.rish_tm_modalbox .additional_images ul li .my_image {
    position: relative;
}

.rish_tm_modalbox .additional_images ul li .my_image img {
    opacity: 0;
    min-width: 100%;
}

.rish_tm_modalbox .additional_images ul li .my_image .main {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Section Description */
.rish_tm_portfolio .section-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.rish_tm_portfolio .section-heading .section-desc {
    font-family: "Poppins";
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Gallery Trigger */
.rish_tm_portfolio .gallery_trigger {
    cursor: pointer;
}

/* Magnific Popup Custom Styles */
.mfp-gallery .mfp-image-holder .mfp-figure {
    border-radius: 10px;
    background-color: #fff;
}

.mfp-gallery .mfp-close {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    background-color: #dc143c;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    top: 10px;
    right: 10px;
}

.mfp-gallery .mfp-title {
    font-family: "Poppins", sans-serif;
    color: #fff;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
}

.mfp-gallery .mfp-counter {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

/* Ensure gallery images are hidden in DOM */
.rish_tm_portfolio .gallery_images {
    display: none;
}


/*---------------------------------------------------*/
/* 07) ACHIEVEMENTS */
/*---------------------------------------------------*/

.rish_tm_achievements {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding: 70px 0;
    background-color: #ffffff;
}

.rish_tm_achievements .section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.rish_tm_achievements .section-heading h3 {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: "Poppins", sans-serif;
}

.rish_tm_achievements .section-heading .section-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    font-family: "Poppins", sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Tabs */
.rish_tm_achievements .filter-tabs {
    text-align: center;
    margin-bottom: 40px;
}

.rish_tm_achievements .filter-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 12px 24px;
    margin: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.rish_tm_achievements .filter-btn.active,
.rish_tm_achievements .filter-btn:hover {
    background-color: #dc143c;
    color: #fff;
}

/* Gallery */
.rish_tm_achievements .achievements-gallery-wrapper {
    position: relative;
}

.rish_tm_achievements .achievements-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px 30px;
}

.rish_tm_achievements .achievement-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.rish_tm_achievements .achievement-card.hidden {
    display: none;
}

.rish_tm_achievements .achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.rish_tm_achievements .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.rish_tm_achievements .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rish_tm_achievements .achievement-card:hover .card-image img {
    transform: scale(1.05);
}

.rish_tm_achievements .card-image .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc143c;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
}

.rish_tm_achievements .card-content {
    padding: 20px;
    text-align: center;
    background-color: #fff;
}

.rish_tm_achievements .card-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

.rish_tm_achievements .card-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

/* Pagination Dots */
.rish_tm_achievements .pagination-dots {
    text-align: center;
    margin-top: 20px;
}

.rish_tm_achievements .pagination-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.rish_tm_achievements .pagination-dot.active {
    width: 30px;
    background-color: #dc143c;
    border-radius: 5px;
}

/* Full-Screen Modal */
.rish_tm_achievements .achievement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.rish_tm_achievements .achievement-modal.active {
    display: flex;
}

.rish_tm_achievements .modal-content {
    background-color: #fff;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90vh;
    width: 800px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.rish_tm_achievements .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rish_tm_achievements .modal-close:hover {
    color: #dc143c;
}

.rish_tm_achievements .modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 20px;
}

.rish_tm_achievements .modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

.rish_tm_achievements .modal-date {
    font-size: 16px;
    font-weight: 600;
    color: #dc143c;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

.rish_tm_achievements .modal-short-description {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    line-height: 1.5;
}

.rish_tm_achievements .modal-description {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-family: "Poppins", sans-serif;
    text-align: center;
    line-height: 1.6;
}

/* Fade-in Animation for Modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*---------------------------------------------------*/
/*	07) BLOGS
/*---------------------------------------------------*/

.rish_tm_news {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    background-color: #f9f9f9;
    padding: 70px 0px 95px 0px;
}

.rish_tm_news .news_list {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding-top: 60px; /* Reduced slightly to balance with section-heading */
}

.rish_tm_news ul {
    margin: 0px 0px 0px -50px;
    list-style-type: none;
}

.rish_tm_news ul li {
    margin: 0px 0px 50px 0px;
    width: 33.3333%;
    padding-left: 50px;
    float: left;
}

.rish_tm_news ul li .list_inner {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    position: relative;
}

.rish_tm_news ul li .image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.rish_tm_news ul li .image img {
    position: relative;
    min-width: 100%;
    opacity: 0;
}

.rounded-pics {
    display: flex;
    justify-content: center;
    align-content: baseline;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
}

.rounded-pic {
    width: 50%; /* Adjust as needed */
    height: 50%; /* Adjust as needed */
    border-radius: 10px; /* Adjust border-radius as needed */
    margin: 0 10px 20px; /* Adjust spacing between pictures */
    overflow: auto;
}

.rish_tm_news ul li .image .main {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.rish_tm_news ul li .image:hover .main {
    transform: scale(1.1);
}

.rish_tm_news ul li .details {
    width: 100%;
    float: left;
    padding-top: 9px;
}

.rish_tm_news ul li .details span {
    font-size: 16px;
    display: inline-block;
    margin-bottom: 10px;
}

.rish_tm_news ul li .details span a {
    text-decoration: none;
    color: #767676;
    position: relative;
    display: inline-block;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.rish_tm_news ul li .details span a:hover {
    color: #dc143c;
}

.rish_tm_news ul li .details span a:before {
    position: relative;
    content: ".";
    font-size: 40px;
    top: -3px;
    color: #767676;
    padding: 0px 9px 0px 5px;
}

.rish_tm_news ul li .details .title a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    display: block;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.rish_tm_news ul li .details .title a:hover {
    color: #dc143c;
}

/* New styles for section-heading and section-desc to match Portfolio */
.section-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.section-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Existing modal styles (unchanged) */
.rish_tm_modalbox .description_wrap::-webkit-scrollbar {
    width: 11px;
}

.rish_tm_modalbox .description_wrap {
    scrollbar-width: thin;
    scrollbar-color: #999 #fff;
}

.rish_tm_modalbox .description_wrap:-webkit-scrollbar-track {
    background: #fff;
}

.rish_tm_modalbox .description_wrap::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 6px;
    border: 3px solid #fff;
}

.rish_tm_modalbox {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 100vh;
    z-index: 15;
    background-color: rgba(0,0,0,.8);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.rish_tm_modalbox.opened {
    opacity: 1;
    visibility: visible;
}

.rish_tm_modalbox .box_inner {
    position: absolute;
    top: 70px;
    bottom: 70px;
    width: 968px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    margin-top: -20px;
    transition-delay: .3s;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.rish_tm_modalbox.opened .box_inner {
    opacity: 1;
    visibility: visible;
    margin-top: 0px;
}

.rish_tm_modalbox .close {
    position: fixed;
    left: 100%;
    top: 0px;
    margin-left: 40px;
    z-index: 111111;
}

.rish_tm_modalbox .close a {
    text-decoration: none;
    color: #fff;
}

.rish_tm_modalbox .close .svg {
    width: 50px;
    height: 50px;
}

.rish_tm_modalbox .description_wrap {
    position: relative;
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    padding: 50px;
    overflow-y: scroll;
}

.rish_tm_modalbox .details {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}

.rish_tm_modalbox .description_wrap .image {
    position: relative;
    max-height: 450px;
    z-index: -1;
    margin-bottom: 28px;
}

.rish_tm_modalbox .description_wrap .image img {
    min-width: 100%;
    opacity: 0;
}

.rish_tm_modalbox .description_wrap .image .main {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

.rish_tm_modalbox .details .title {
    font-weight: 600;
    font-size: 23px;
    margin-bottom: 9px;
}

.rish_tm_modalbox .details span {
    font-size: 16px;
    margin-bottom: 8px;
    display: inline-block;
}

.rish_tm_modalbox .details span a {
    text-decoration: none;
    color: #7E7E7E;
    position: relative;
    display: inline-block;
}

.rish_tm_modalbox .details span a:before {
    position: relative;
    content: ".";
    font-size: 40px;
    top: -3px;
    color: #7e7e7e;
    padding: 0px 9px 0px 5px;
}

.rish_tm_news .hide_content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: -11;
    display: none;
}

.rish_tm_modalbox .hide_content {
    width: 100%;
    float: left;
}

.rish_tm_modalbox .hide_content .descriptions {
    width: 100%;
    float: left;
    margin-bottom: 15px;
}

.rish_tm_modalbox .hide_content .descriptions .bigger {
    color: #888;
    font-size: 20px;		
    margin-bottom: 31px;
}

.rish_tm_modalbox .hide_content .descriptions p {
    margin-bottom: 18px;
}

.rish_tm_modalbox .hide_content .quotebox {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.rish_tm_modalbox .hide_content .quotebox p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 18px;
    border-left: 2px solid #dc143c;
    padding-left: 30px;
    color: #000;
}

.rish_tm_modalbox .hide_content .icon {
    position: absolute;
    left: 0px;
    top: 10px;
}

.rish_tm_modalbox .hide_content .icon .svg {
    width: 50px;
    height: 50px;
}

.rish_tm_modalbox .button {
    display: none;
}

/*---------------------------------------------------*/
/*	08) CONTACT
/*---------------------------------------------------*/

.rish_tm_contact {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding: 70px 0px 100px 0px;
    background-color: #fafafa;
}

.rish_tm_contact .short_info {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    padding-top: 60px;
}

.rish_tm_contact .short_info ul {
    margin: 0px 0px 0px -50px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

.rish_tm_contact .short_info ul li {
    margin: 0px 0px 50px 0px;
    width: 33.3333%;
    padding-left: 50px;
    float: left;
}

.rish_tm_contact .short_info ul li .list_inner {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    align-items: center;
}

.rish_tm_contact .short_info ul li .logo {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 100%;
    position: relative;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.rish_tm_contact .short_info ul li .svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    color: #dc143c;
    display: block;
    object-fit: contain;
}

.rish_tm_contact .short_info ul li .info {
    padding-left: 25px;
}

.rish_tm_contact .short_info ul li .info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.rish_tm_contact .short_info ul li .info span {
    font-family: "Poppins";
    font-size: 14px;
    color: #666;
}

.rish_tm_contact .wrapper {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    padding-top: 43px;
}

.rish_tm_contact .wrapper .left {
    width: 50%;
    padding-right: 25px;
}

.rish_tm_contact .fields {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
}

.rish_tm_contact .fields .first {
    width: 100%;
    float: left;
}

.rish_tm_contact .fields ul {
    margin: 0px;
    list-style-type: none;
}

.rish_tm_contact .fields ul li {
    width: 100%;
    margin: 0px 0px 30px 0px;
    float: left;
}

.rish_tm_contact .fields ul li input {
    width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background-color: #fff;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    font-family: "Poppins";
    transition: border-color 0.3s ease;
}

.rish_tm_contact .fields ul li input:focus {
    outline: none;
    border: 1px solid #dc143c;
}

.rish_tm_contact .fields ul li input:invalid {
    border: 1px solid #e1e0e0;
}

.rish_tm_contact .fields .last textarea {
    width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    height: 120px;
    resize: none;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    font-family: "Poppins";
    transition: border-color 0.3s ease;
}

.rish_tm_contact .fields .last textarea:focus {
    outline: none;
    border: 1px solid #dc143c;
}

.rish_tm_contact .fields .last textarea:invalid {
    border: 1px solid #dbdbdb;
}

.rish_tm_contact .empty_notice {
    color: #F52225;
    margin-bottom: 10px;
    display: none;
    text-align: left;
    font-weight: 500;
    font-family: "Poppins";
    font-size: 14px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(245, 34, 37, 0.1);
}

.rish_tm_contact .returnmessage {
    color: #dc143c;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 500;
    font-family: "Poppins";
    font-size: 14px;
}

.rish_tm_contact .rish_tm_button {
    text-align: left;
}

.rish_tm_contact .rish_tm_button button {
    background-color: #dc143c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rish_tm_contact .rish_tm_button button:hover {
    background-color: transparent;
    color: #dc143c;
    border: 2px solid #dc143c;
}

.rish_tm_contact .rish_tm_button button:disabled {
    background-color: #dc143c;
    color: #ffffff;
    cursor: not-allowed;
    border: none;
}

.rish_tm_contact .right {
    width: 50%;
    padding-left: 25px;
    position: relative;
    top: 6px;
}

.rish_tm_contact .map_wrap {
    border-radius: 5px;
    overflow: hidden;
}

.rish_tm_contact .map_wrap iframe {
    min-height: 359px;
    width: 100%;
    border-radius: 5px;
}

/* Section heading and description */
.section-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.section-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: "Poppins";
}

.rish_tm_contact_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rish_tm_contact_popup.active {
    display: flex;
    opacity: 1;
}

.rish_tm_contact_popup .popup_inner {
    background-color: #fff;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.rish_tm_contact_popup .popup_icon .svg {
    width: 60px;
    height: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.rish_tm_contact_popup .popup_title {
    font-size: 26px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    font-family: "Poppins";
}

.rish_tm_contact_popup .popup_message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-family: "Poppins";
    line-height: 1.5;
}

.rish_tm_contact_popup .rish_tm_button {
    display: flex;
    justify-content: center;
}

.rish_tm_contact_popup .rish_tm_button a.popup_close {
    background-color: #dc143c;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rish_tm_contact_popup .rish_tm_button a.popup_close:hover {
    background-color: transparent;
    color: #28a745;
    border: 2px solid #28a745;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/*---------------------------------------------------*/
/*	09) rish MAGIC CURSOR
/*---------------------------------------------------*/

.rish_tm_all_wrap[data-magic-cursor="hide"] .mouse-cursor{
	display: none;
}
.mouse-cursor{
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  visibility: hidden;
}
.cursor-inner {
  margin-left: -3px;
  margin-top: -3px;
  width: 6px;
  height: 6px;
  z-index: 50;
  background-color: #dc143c;
  -webkit-transition: width .3s ease-in-out, height .3s ease-in-out, margin .3s ease-in-out, opacity .3s ease-in-out;
  transition: width .3s ease-in-out, height .3s ease-in-out, margin .3s ease-in-out, opacity .3s ease-in-out;
}
.cursor-inner.cursor-hover {
  margin-left: -40px;
  margin-top: -40px;
  width: 80px;
  height: 80px;
  background-color: #dc143c;
  opacity: .3;
}
.cursor-outer {
  margin-left: -15px;
  margin-top: -15px;
  width: 30px;
  height: 30px;
  border: 2px solid #dc143c;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 50;
  opacity: .5;
  -webkit-transition: all .08s ease-out;
  transition: all .08s ease-out;
}
.cursor-outer.cursor-hover{opacity: 0;}

/*---------------------------------------------------*/
/* 09) RISH TESTIMONIALS */
/*---------------------------------------------------*/

.rish_tm_testimonials {
    position: relative;
	overflow: hidden;
    height: auto;
    padding: 70px 0px 100px 0px;
}

#grouploop {
    margin: 30px 0;
}

#grouploop .item-wrap {
    transform: translateX(0px);
    width: 400%;
    position: relative;
    white-space: nowrap;
    display: flex;
}

#grouploop .item-wrap .item {
    color: rgba(0,0,0,.06);
    display: flex;
    padding: 0 100px;
}

#grouploop .item-wrap .item span {
    font-size: 100px;
    font-weight: 800;
    font-family: "Poppins";
}

.rish_tm_testimonials .testimonials_list {
    width: 100%;
    max-width: 1150px;
    height: auto;
    clear: both;
    margin: 0px auto;
    position: relative;
}

.rish_tm_testimonials .wr_in {
    width: 100%;
    max-width: 900px;
    height: auto;
    clear: both;
    margin: 0 auto;
    position: relative;
    padding: 50px;
}

.rish_tm_testimonials .container {
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
}

.rish_tm_testimonials .testimonials_list .wrapper .wr_in .list_inner {
    width: 100%;
    height: auto;
    clear: both;
    position: relative;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
}

.rish_tm_testimonials .avatar {
    width: 25%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
}

.rish_tm_testimonials .avatar .image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Maintain square aspect ratio */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    opacity: 0;
    transition: all 1s ease;
    transform: scale(1.2) translateZ(0);
}

.rish_tm_testimonials .content {
    width: 75%;
    display: flex;
    flex-direction: column;
}
.rish_tm_testimonials .owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.rish_tm_testimonials .owl-carousel .owl-item {
    opacity: 0.3; /* Low opacity for non-active items */
    transform: scale(0.1); /* Scale down to ~10% width */
    transition: all 0.5s ease;
    z-index: 1; /* Non-active items in background */
    overflow: hidden; /* Prevent content from spilling */
}

.rish_tm_testimonials .owl-carousel .owl-item.active.center {
    opacity: 1; /* Full opacity for active item */
    transform: scale(1); /* Full size for active item */
    z-index: 3; /* Active item in foreground */
}

.rish_tm_testimonials .owl-carousel .owl-item.active:not(.center) {
    opacity: 0.5; /* Slightly higher opacity for prev/next */
    transform: scale(0.3); /* Slightly larger than 10% to ensure visibility */
    z-index: 2; /* Prev/next items just behind active */
}

.rish_tm_testimonials .owl-carousel .owl-item.active .avatar .image {
    opacity: 1;
    transition: all 1s 0.3s ease;
    transform: scale(1) translateZ(0);
}

.rish_tm_testimonials .stars {
    width: 100%;
    margin: 10px 0;
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
}

.rish_tm_testimonials .stars li {
    margin: 0 5px 0 0;
    display: inline-block;
}

.rish_tm_testimonials .stars li .svg {
    color: #dc143c;
    width: 18px;
    height: 18px;
}

.rish_tm_testimonials .text {
    width: 100%;
}

.rish_tm_testimonials .text p {
    font-size: 19px;
    text-align: justify;
    margin: 0;
}

.rish_tm_testimonials .details {
    width: 100%;
}

.rish_tm_testimonials .details .author {
    font-size: 20px;
    margin-bottom: 8px;
}

.rish_tm_testimonials .details .job {
    font-weight: 400;
    font-size: 16px;
    color: #767676;
    margin-bottom: 5px;
}

.rish_tm_testimonials .details h3 {
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 1;
    position: relative;
}

.rish_tm_testimonials .details .author span,
.rish_tm_testimonials .details .job span {
    position: relative;
    display: block;
    padding: 2px 0;
    transform: translateY(102%);
    transition: all 1s ease;
}

.rish_tm_testimonials .owl-carousel .owl-item.active .details .author span {
    transform: translateY(0px);
    transition-delay: 0.3s;
}

.rish_tm_testimonials .owl-carousel .owl-item.active .details .job span {
    transform: translateY(0px);
    transition-delay: 0.6s;
}

.rish_tm_testimonials .myquote {
    position: absolute;
    width: 50px;
    height: 50px;
    color: rgba(0,0,0,.06);
    right: 20px;
    bottom: -30px;
    display: block;
    z-index: 0;
}

/* Navigation Arrows */
.rish_tm_testimonials .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.rish_tm_testimonials .owl-nav .owl-prev,
.rish_tm_testimonials .owl-nav .owl-next {
    position: absolute;
    background: #dc143c;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s ease;
}

.rish_tm_testimonials .owl-nav .owl-prev:hover,
.rish_tm_testimonials .owl-nav .owl-next:hover {
    background: #ff98ac;
    }

.rish_tm_testimonials .owl-nav .owl-prev {
    left: 10px; /* Adjusted for tighter layout */
}

.rish_tm_testimonials .owl-nav .owl-next {
    right: 10px; /* Adjusted for tighter layout */
}

/* Dots */
.rish_tm_testimonials .owl-dots {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.rish_tm_testimonials .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 8px;
}

.rish_tm_testimonials .owl-dots .owl-dot span {
    width: 14px;
    height: 14px;
    background: #ccc;
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.rish_tm_testimonials .owl-dots .owl-dot.active span {
    width: 24px;
    height: 14px;
    background: #dc143c;
    border-radius: 20px;
}

/*---------------------------------------------------*/
/*	10) rish INTRO
/*---------------------------------------------------*/

.rish_tm_intro{
	width: 100%;
	min-height: 100vh;
	display: flex;
	background-color: #f9f9f9;
}
.rish_tm_intro .centered{
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
}
.rish_tm_intro .centered span{
	display: block;
	font-family: "Poppins";
	font-size: 17px;
	padding-top: 20px;
	font-weight: 500;
}
.rish_tm_intro .left{
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	z-index: 2;
}
.rish_tm_intro .right{
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	z-index: 2;
}
.rish_tm_intro .image{
	width: 100%;
	float: left;
	margin-bottom: 20px;
}
.rish_tm_intro .image img{
	max-width: 250px;
	margin-bottom: 25px;
}
.rish_tm_intro .image h3{
	font-size: 20px;
	font-weight: 600;
}
.rish_tm_intro .features{
	width: 100%;
	float: left;
}
.rish_tm_intro .features ul{
	margin: 0px;
	list-style-type: none;
}
.rish_tm_intro .features ul li{
	margin: 0px;
}
.rish_tm_intro .features ul li span{
	display: inline-block;
	position: relative;
	padding-left: 25px;
}
.rish_tm_intro .features ul li .svg{
	position: absolute;
	top: 5px;
	left: 0px;
	color: #dc143c;
	width: 18px;
	height: 18px;
}
.rish_tm_intro .right .features ul li .svg{
	color: rgba(255,0,3,1.00);
}
.rish_tm_intro .buttons{
	width: 100%;
	float: left;
	padding-top: 30px;
}
.rish_tm_intro .buttons ul{
	margin: 0px;
	list-style-type: none;
}
.rish_tm_intro .buttons ul li{
	margin: 0px;
	display: inline-block;
}
.rish_tm_intro .buttons ul li a{
	text-decoration: none;
	background-color: #dc143c;
	border: 2px solid #dc143c;
	color: #fff;
	display: inline-block;
	padding: 7px 25px;
	border-radius: 50px;
	font-size: 15px;
	transition: all .3s ease;
}
.rish_tm_intro .buttons ul li a:hover{
	background-color: transparent;
	color: #000;
}
.rish_tm_intro .intro_line,
.rish_tm_intro .intro_line_2,
.rish_tm_intro .intro_line_3{
	position: fixed;
	top: 0px;
	width: 1px;
	height: 200%;
	left: 50%;
	transform: translateY(-50%);
	background-color: rgba(0,0,0,.06);
}
.rish_tm_intro .intro_line{
	left: 25%;
}
.rish_tm_intro .intro_line_2{
	left: 50%;
	transform: translateY(-50%);
}
.rish_tm_intro .intro_line_3{
	left: 75%;
}

/*---------------------------------------------------*/
/* 12) RISH COPYRIGHT */
/*---------------------------------------------------*/

.rish_tm_copyright {
    width: 100%;
    height: auto;
    clear: both;
    float: left;
    background-color: #dc143c;
    padding: 30px 0px;
}

.rish_tm_copyright .container {
    width: 100%;
    max-width: 1200px; /* Ensure the container doesn’t stretch too wide */
    margin: 0 auto;
    padding: 0 20px; /* Add horizontal padding to prevent content from touching edges */
}

.rish_tm_copyright .copyright_inner {
    width: 100%;
    height: auto;
    clear: both;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping if content overflows */
    gap: 15px; /* Add spacing between text and social icons if they wrap */
}

.rish_tm_copyright .text p {
    color: #fff;
    font-family: "Poppins";
    margin: 0; /* Remove default margin for better control */
    font-size: 14px; /* Slightly smaller font for better fit */
}

.rish_tm_copyright .social ul {
    margin: 0px;
    list-style-type: none;
    display: flex;
    align-items: center;
}

.rish_tm_copyright .social ul li {
    margin: 0px 15px 0px 0px; /* Reduced margin for smaller screens */
    display: inline-block;
}

.rish_tm_copyright .social ul li:last-child {
    margin-right: 0px;
}

.rish_tm_copyright .social ul li a {
    text-decoration: none;
    color: #fff;
    display: block;
}

.rish_tm_copyright .social ul li a img.svg {
    width: 20px; /* Ensure icons have a consistent size */
    height: 20px;
}

/* Ensure the body and sections handle viewport height properly */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.rish_tm_section {
    width: 100%;
    overflow: hidden; /* Prevent overflow issues */
}
/*---------------------------------------------------*/
/*	11) rish MEDIA QUERIES (FOR SMALL DEVIVES)
/*---------------------------------------------------*/
/* RESPONSIVE STYLES - 1600px */
@media (max-width: 1600px) {
    .container {max-width: 1070px;}
    .rish_tm_about .signature {margin-bottom: 25px;}
    .rish_tm_about .text {padding-top: 25px; margin-bottom: 25px;}
    .rish_tm_button a {padding: 8px 35px;}
    .rish_tm_hero .avatar {min-width: 350px; min-height: 350px;}
    .rish_tm_hero .job {margin-bottom: 22px;}
    .rish_tm_hero .job h3 {font-size: 55px; line-height: 1.2;}
    .rish_tm_services .right ul li .list_inner {padding: 50px 30px;}
    .rish_tm_services .right ul li .svg {width: 45px; height: 45px; margin-bottom: 20px;}
    .rish_tm_title {max-width: 450px;}
    .rish_tm_title h3 {font-size: 48px;}
    .rish_tm_title span {margin-bottom: 5px;}
}

/* RESPONSIVE STYLES - 1200px */
@media (max-width: 1200px) {
    .rish_tm_modalbox .additional_images ul {margin: 0px;}
    .rish_tm_modalbox .additional_images ul li {width: 100%; padding-left: 0px;}
    .rish_tm_modalbox .box_inner {width: 600px;}
    .rish_tm_modalbox .close {margin-left: 10px;}
    .rish_tm_modalbox .main_details {flex-direction: column;}
    .rish_tm_modalbox .main_details .detailbox {width: 100%; padding-left: 0px;}
    .rish_tm_modalbox .main_details .textbox {width: 100%; padding-right: 0px; margin-bottom: 40px;}
}

/* RESPONSIVE STYLES - 1040px */
@media (max-width: 1040px) {
    #grouploop {margin: 20px 0;}
    #grouploop .item-wrap .item span {font-size: 100px;}
    .rish_tm_achievements .achievements-gallery {grid-template-columns: repeat(2, 1fr);}
    .rish_tm_achievements .modal-content {width: 95%; padding: 20px;}
    .rish_tm_achievements .modal-description {font-size: 14px;}
    .rish_tm_achievements .modal-image {max-height: 300px;}
    .rish_tm_achievements .modal-short-description {font-size: 16px;}
    .rish_tm_achievements .modal-title {font-size: 24px;}
    .rish_tm_achievements .section-heading h3 {font-size: 36px;}
    .rish_tm_about .about_inner {flex-direction: column;}
    .rish_tm_about .experience {bottom: 20px; right: 20px;}
    .rish_tm_about .left {width: 100%; margin: 0px 0px 70px 0px;}
    .rish_tm_about .right {width: 100%; margin-left: 0px;}
    .rish_tm_contact .right {width: 100%; padding-left: 0px;}
    .rish_tm_contact .short_info ul {margin: 0px;}
    .rish_tm_contact .short_info ul li {width: 50%; padding-left: 30px; margin-bottom: 30px;}
    .rish_tm_contact .short_info ul li .info {padding-left: 20px;}
    .rish_tm_contact .short_info ul li .info h3 {font-size: 15px;}
    .rish_tm_contact .short_info ul li .info span {font-size: 13px;}
    .rish_tm_contact .short_info ul li .logo {width: 60px; height: 60px;}
    .rish_tm_contact .short_info ul li .svg {width: 25px; height: 25px;}
    .rish_tm_contact .wrapper {flex-direction: column;}
    .rish_tm_contact .wrapper .left {width: 100%; padding-right: 0px; margin-bottom: 50px;}
    .rish_tm_copyright .copyright_inner {flex-direction: column; align-items: center; text-align: center;}
    .rish_tm_copyright .text {margin-bottom: 5px;}
    .rish_tm_hero .content {flex-direction: column; justify-content: center; align-items: center; padding: 20px 0;}
    .rish_tm_hero .avatar {min-width: 300px; min-height: 300px; margin-bottom: 20px; margin-top: 100px; order: 1;}
    .rish_tm_hero .texts {padding-right: 0; text-align: center; margin-bottom: 30px; order: 2;}
    .rish_tm_hero .desc p {max-width: 100%; font-size: 14px; padding: 0 20px; order: 3;}
    .rish_tm_hero .job {order: 4;}
    .rish_tm_hero .job h3 {font-size: 48px; line-height: 1.2;}
    .rish_tm_hero .job h4 {font-size: 24px;}
    .rish_tm_hero .short_skills {order: 5; margin-top: 20px;}
    .rish_tm_mobile_menu {display: block;}
    .rish_tm_modalbox .additional_images ul li {width: 100%; padding-left: 30px;}
    .rish_tm_modalbox .main_details {flex-direction: column;}
    .rish_tm_modalbox .main_details .detailbox {width: 100%; padding-left: 0;}
    .rish_tm_modalbox .main_details .textbox {width: 100%; padding-right: 0; margin-bottom: 30px;}
    .rish_tm_news ul li {width: 50%;}
    .rish_tm_portfolio .portfolio_list ul {margin: 0px 0px 0px -30px;}
    .rish_tm_portfolio .portfolio_list ul li {width: 50%; padding-left: 30px;}
    .rish_tm_services .left {width: 100%; margin: 0px 0px 70px 0px;}
    .rish_tm_services .right {width: 100%; margin: 0px;}
    .rish_tm_services .right ul li:nth-child(1) {margin-top: 0px;}
    .rish_tm_services .services_inner {flex-direction: column;}
    .rish_tm_skills_education .section-heading h3 {font-size: 36px;}
    .rish_tm_skills_education .skills-left {width: 100%; margin-bottom: 30px;}
    .rish_tm_skills_education .education-right {width: 100%; margin-bottom: 30px;}
    .rish_tm_skills_education .skills_education_inner {flex-direction: column;}
    .rish_tm_testimonials .avatar {width: 100px; margin-right: 0; margin-bottom: 20px;}
    .rish_tm_testimonials .content {width: 100%;}
    .rish_tm_testimonials .owl-carousel .owl-item {transform: scale(0.1);}
    .rish_tm_testimonials .owl-nav .owl-next {right: 5px;}
    .rish_tm_testimonials .owl-nav .owl-prev {left: 5px;}
    .rish_tm_testimonials .testimonials_list .wrapper .wr_in .list_inner {padding: 30px; flex-direction: column; align-items: flex-start;}
    .rish_tm_testimonials .wr_in {padding: 20px;}
    .rish_tm_title h3 {font-size: 25px;}
    .rish_tm_topbar {display: none;}
    .rish_tm_video .text {font-size: 25px;}
    .short_skills {position: relative; bottom: auto; left: auto; margin-top: 30px; justify-content: center;}
    .short_skills .icons {margin-left: 40px;}
    .short_skills .icons ul li {width: 50px; height: 50px; margin-right: 15px;}
    .short_skills .icons ul li .svg {width: 20px; height: 20px;}
    .short_skills .text span {font-size: 12px;}
    .short_skills .text:before {margin-left: 20px; height: 40px;}
    .rish_tm_button a {padding: 12px 40px; font-size: 14px;}
}

/* RESPONSIVE STYLES - 768px */
@media (max-width: 768px) {
    .rish_tm_mobile_menu .mobile_menu_inner {margin-bottom: 20px;}
    body, p, span, li, a {font-size: 12px !important;}
    h3 {font-size: 20px !important;}
    h4 {font-size: 18px !important;}
    .rish_tm_hero .content {flex-direction: column; align-items: center; text-align: center; padding: 15px 0;}
    .rish_tm_hero .avatar {order: 1; min-width: 250px; min-height: 250px; margin-bottom: 20px;}
    .rish_tm_hero .texts {order: 2; padding: 0; margin-bottom: 0;}
    .rish_tm_hero .job {order: 3; margin-bottom: 15px;}
    .rish_tm_hero .job h3 {font-size: 30px !important;}
    .rish complemento_hero .job h4 {font-size: 18px !important;}
    .rish_tm_hero .desc {order: 4; margin-bottom: 15px;}
    .rish_tm_hero .desc p {font-size: 13px !important; padding: 0 15px;}
    .rish_tm_hero .short_skills {order: 5; flex-direction: column; align-items: center; width: auto; margin-top: 20px; gap: 15px;}
    .rish_tm_hero .short_skills .text {margin-bottom: 10px;}
    .rish_tm_hero .short_skills .text span {font-size: 11px !important;}
    .rish_tm_hero .short_skills .text:before {display: none;}
    .rish_tm_hero .short_skills .icons {margin-left: 0;}
    .rish_tm_hero .short_skills .icons ul li {width: 45px; height: 45px; margin-right: 10px;}
    .rish_tm_hero .short_skills .icons ul li .svg {width: 18px; height: 18px;}
    .rish_tm_contact .short_info ul {gap: 15px;}
    .rish_tm_portfolio .portfolio_list ul {gap: 15px;}
    .rish_tm_news ul {gap: 15px;}
    .rish_tm_services .right ul {gap: 15px;}
    .rish_tm_copyright .social ul {gap: 15px;}
    #circle svg {width: 330px; height: 330px; top: -80px; left: -80px;}
    #circle text {font-size: 14px;}
    #grouploop {margin: 162px 0px 93px 0px;}
    #grouploop .item-wrap .item span {font-size: 80px;}
    .rish_tm_achievements .achievements-gallery {grid-template-columns: 1fr;}
    .rish_tm_achievements .card-image {height: 180px;}
    .rish_tm_achievements .filter-btn {padding: 10px 16px; font-size: 12px;}
    .rish_tm_achievements .modal-image {max-height: 250px;}
    .rish_tm_about .experience {width: 170px; height: 170px;}
    .rish_tm_about .experience .year {font-size: 55px;}
    .rish_tm_button a {padding: 10px 30px; font-size: 13px;}
    .rish_tm_contact .section-desc {font-size: 16px;}
    .rish_tm_contact .short_info ul li {width: 100%; padding-left: 0; margin-bottom: 25px;}
    .rish_tm_contact .short_info ul li .info {padding-left: 15px;}
    .rish_tm_contact .short_info ul li .logo {width: 50px; height: 50px;}
    .rish_tm_contact .short_info ul li .svg {width: 20px; height: 20px;}
    .rish_tm_contact .wrapper {flex-direction: column;}
    .rish_tm_contact .wrapper .left {width: 100%; padding-right: 0; margin-bottom: 30px;}
    .rish_tm_contact .wrapper .right {width: 100%; padding-left: 0;}
    .rish_tm_contact_popup .popup_icon .svg {width: 40px; height: 40px;}
    .rish_tm_contact_popup .popup_inner {padding: 20px; max-width: 90%;}
    .rish_tm_contact_popup .popup_message {font-size: 14px;}
    .rish_tm_contact_popup .popup_title {font-size: 20px;}
    .rish_tm_contact_popup .rish_tm_button a.popup_close {padding: 8px 25px; font-size: 14px;}
    .rish_tm_copyright {padding: 20px 0px;}
    .rish_tm_copyright .copyright_inner {flex-direction: column; align-items: center; gap: 15px;}
    .rish_tm_copyright .social ul li {margin: 0px 10px 0px 0px;}
    .rish_tm_copyright .social ul li a img.svg {width: 18px; height: 18px;}
    .rish_tm_copyright .text p {font-size: 12px; text-align: center;}
    .rish_tm_modalbox .box_inner {width: 300px;}
    .rish_tm_modalbox .close {margin-left: -20px; top: -35px;}
    .rish_tm_modalbox .close .svg {width: 20px; height: 20px;}
    .rish_tm_modalbox .description_wrap {padding: 20px;}
    .rish_tm_news ul {margin: 0px;}
    .rish_tm_news ul li {width: 100%; padding-left: 0px;}
    .rish_tm_portfolio .load_more button {padding: 12px 40px; font-size: 14px;}
    .rish_tm_portfolio .portfolio_filter ul li {margin: 4px 15px 10px 0;}
    .rish_tm_portfolio .portfolio_filter ul li a {padding: 6px 15px; font-size: 14px;}
    .rish_tm_portfolio .portfolio_list ul {margin: 0px;}
    .rish_tm_portfolio .portfolio_list ul li {width: 100%; padding-left: 0px;}
    .rish_tm_portfolio .section-heading .section-desc {font-size: 14px; max-width: 90%;}
    .rish_tm_services .right ul {margin: 0px;}
    .rish_tm_services .right ul li {width: 100%; padding-left: 0px;}
    .rish_tm_testimonials .item-wrap .item span {font-size: 100px;}
    .rish_tm_testimonials .owl-carousel .owl-item {transform: scale(0); opacity: 0;}
    .rish_tm_testimonials .owl-carousel .owl-item.active.center {transform: scale(1); opacity: 1;}
    .rish_tm_testimonials .text p {font-size: 16px;}
    .rish_tm_testimonials .testimonials_list .wrapper .wr_in .list_inner {padding: 20px;}
    .rish_tm_testimonials .wr_in {padding: 15px;}
    #grouploop .item span {font-size: 60px !important;}
    .rish_tm_title h3 {font-size: 22px;}
    .rish_tm_video .rounded {width: 80px; height: 80px;}
    .rish_tm_video .text {font-size: 22px;}
}

/* RESPONSIVE STYLES - 480px */
@media (max-width: 480px) {
    body, p, li, a {font-size: 10px !important;}
    h3 {font-size: 18px !important;}
    h4 {font-size: 16px !important;}
    .rish_tm_hero .avatar {min-width: 200px; min-height: 200px; margin-bottom: 15px;}
    .rish_tm_hero .job h3 {font-size: 24px !important;}
    .rish_tm_hero .job h4 {font-size: 16px !important;}
    .rish_tm_hero .desc p {font-size: 12px !important; padding: 0 10px;}
    .rish_tm_hero .short_skills {gap: 10px;}
    .rish_tm_hero .short_skills .icons ul li {width: 40px; height: 40px; margin-right: 8px;}
    .rish_tm_hero .short_skills .icons ul li .svg {width: 16px; height: 16px;}
    .rish_tm_hero .short_skills .text span {font-size: 10px !important;}
    .rish_tm_testimonials .item-wrap span {font-size: 42px !important; margin-bottom: 0;}
    .rish_tm_testimonials {padding: 0 0 0 0;}
    .rish_tm_contact .short_info ul {gap: 10px;}
    .rish_tm_portfolio .portfolio_list ul {gap: 10px;}
    .rish_tm_news ul {gap: 10px;}
    .rish_tm_services .right ul {gap: 10px;}
    .rish_tm_copyright .social ul {gap: 10px;}
    .rish_tm_button a {padding: 8px 25px; font-size: 12px;}
}