*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Jost', sans-serif;
	list-style: none;
	text-decoration: none;
	scroll-behavior: smooth;
}
:root{
	--bg-color: #ffffff;
	--text-color: #000;
	--secound-color: #a09dab;
	--main-color: #b968c7;
	--big-font: clamp(2.5rem, 5vw, 5rem);
	--h2-font: clamp(1.8rem, 4vw, 3rem);
	--p-font: clamp(0.9rem, 2vw, 1.1rem);
	
}
body{
	background: var(--bg-color);
	color: var(--text-color);
	margin: 0;
  	padding: 0;
  	box-sizing: border-box;
  	padding-top: 80px;
}
header{
	position: fixed;
	width: 100%;
	top: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--bg-color);
	padding: 20px 10%;
	transition: .3s;
	text-align: center;
  
  	
}
header.sticky {
    background: var(--bg-color);
    padding: 13px 18%;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
}
.logo img{
	max-width: 100%;
	width: 130px;
	height: auto;
}
.navlist{
	display: flex;
	flex-wrap: nowrap;
}
.navlist li{
	position: relative;
}
.navlist a{
	font-size: var(--p-font);
	color: var(--text-color);
	font-weight: 500;
	padding: 10px 27px;
	
	display: block;
}
.navlist a::after{
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background: var(--main-color);
	bottom: -3px;
	left: 0;
	transition: ease .40s;
}
.navlist a:hover::after{
	width: 100%;
}
/* Three-line menu (Hamburger) */
#menu-icon {
    font-size: 35px;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
}

/* Mobile Menu */
@media screen and (max-width: 768px) {
    header {
        padding: 15px 5%;
        position: fixed;
        width: 100%;
        top: 0;
        right: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--bg-color);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }

    #menu-icon {
        display: block; /* Show on mobile */
    }

    .navlist {
        position: fixed;
        top: -100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        gap: 0;
        transition: 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .navlist.active {
        top: 60px;
    }

    .navlist li {
        width: 100%;
    }

    .navlist a {
        padding: 1rem;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}
.btn {
    display: inline-block;
    padding: 9px 30px;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 30px;
    color: var(--text-color);
    letter-spacing: 1px;
    font-size: var(--p-font);
    font-weight: 500;
    transition: ease 0.50s;
}

.btn:hover {
    transform: scale(1.1);
    background: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--bg-color);
}
.top-btn{
	display: inline-block;
	padding: 9px 30px;
	background: transparent;
	border: 2px solid var(--main-color);
	border-radius: 30px;
	color: var(--text-color);
	letter-spacing: 1px;
	font-size: var(--p-font);
	font-weight: 500;
	vertical-align: top;
	transition: ease .50s;
}
.top-btn:hover{
	transform: scale(1.1);
	background: var(--main-color);
	border: 2px solid var(--main-color);
	color: var(--bg-color);
}

section{
	padding: 100px 18%;
}
.home{
	min-height: 100vh;
	height: 100%;
	width: 100%;
	background: url(../img/background.png);
	background-size: cover;
	background-position: center;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	grid-gap: 4rem;
}
.home-text h1{
	margin: 10px 0px 25px;
	font-size: var(--big-font);
	line-height: 1;
	font-weight: 500;
}
.home-text h5{
	margin-bottom: 23px;
	font-size: 19px;
	font-weight: 500;
}
span{
	color: var(--main-color);
}
.home-text h3{
	color: var(--main-color);
	font-size: 20px;
	font-weight: 500;
}
.home-text p{
	font-size: var(--p-font);
	color: var(--secound-color);
	line-height: 28px;
	margin-bottom: 20px;
}
.social a{
	width: 35px;
	height: 35px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: black;
	font-size: 17px;
	color: var(--bg-color);
	margin-right: 22px;
	margin-bottom: 30px;
}
.social a:hover{
	transform: scale(1.1);
	background: var(--main-color);
	transition: .5s;
}
.btn{
	display: inline-block;
	color: var(--bg-color);
	background: var(--main-color);
	font-size: var(--p-font);
	padding: 10px 40px;
	font-weight: 500;
	line-height: 24px;
	border-radius: 30px;
	transition: ease .40s;
}
.btn:hover{
	transform: scale(1.1);
}
.home-img img{
	max-width: 100%;
	width: 540px;
	height: auto;
}

.items{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, auto));
	grid-gap: 2rem;
	align-items: center;
	text-align: center;
}
.sub-box{
	padding: 45px 45px 45px 45px;
	transition: ease .50s;
	cursor: pointer;
}
.sub-img img{
	max-width: 100%;
	width: 60px;
	height: auto;
	margin-bottom: 20px;
}
.sub-box h3{
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 500;
}
.sub-box p{
	font-size: var(--p-font);
	color: var(--secound-color);
	line-height: 29px;
}
.sub-box:hover{
	background: #ffffff;
	box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
	border-radius: 12px;
	will-change: transform;
	transform: perspective(1000px) rotateX(4.80deg) rotateY(10.23deg) scale3d(1.05,1.05,1.05);
}

.about{
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	align-items: center;
	grid-gap: 2rem;
}
.about-img img{
	max-width: 100%;
	width: 540px;
	height: auto;
}
.about-text h2{
	font-size: var(--h2-font);
	font-weight: 500;
	margin: 8px 0px 25px;
	line-height: 1.1;
}
.about-text h3{
	color: var(--main-color);
	font-size: 20px;
	font-weight: 500;
}
.about-text p{
	max-width: 550px;
	font-size: var(--p-font);
	color: var(--secound-color);
	line-height: 28px;
	margin-bottom: 45px;
}

.heading{
	text-align: center;
}
.heading h2{
	font-size: var(--h2-font);
	font-weight: 500;
	margin: 7px 0px 20px;
	line-height: 1.1;
}
.heading h3{
	color: var(--main-color);
	font-size: 20px;
	font-weight: 500;
}
.heading p{
	font-size: var(--p-font);
	color: var(--secound-color);
	line-height: 28px;
}
/* Portfolio Section */
.portfolio {
    padding: 50px 10%;
    text-align: center;
    background: #f9f9f9;
}

.portfolio .heading h3 {
    font-size: 1.5rem;
    color: #b968c7;
    margin-bottom: 10px;
}

.portfolio .heading h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
}

.portfolio .heading p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 columns */
    gap: 20px;
}

.portfolio-content .col {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-content .col img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.portfolio-content .col:hover {
    transform: scale(1.05); /* Subtle hover effect */
}

.portfolio-content .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.portfolio-content .col:hover .layer {
    opacity: 1;
}

.portfolio-content .layer h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-content .layer a h5 {
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-content .layer a h5:hover {
    color: #fff;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .portfolio-content {
        grid-template-columns: repeat(2, 1fr); /* Reduce to 2 columns */
        gap: 15px;
    }

    .portfolio .heading h2 {
        font-size: 2rem;
    }

    .portfolio .heading p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 768px) {
    .portfolio-content {
        grid-template-columns: repeat(1, 1fr); /* Single column on smaller screens */
        gap: 15px;
    }

    .portfolio .heading h2 {
        font-size: 1.8rem;
    }

    .portfolio .heading p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .portfolio-content {
        gap: 10px;
    }

    .portfolio .heading h2 {
        font-size: 1.5rem;
    }

    .portfolio .heading p {
        font-size: 0.85rem;
    }

    .portfolio-content .layer h3 {
        font-size: 1.2rem;
    }

    .portfolio-content .layer a h5 {
        font-size: 0.9rem;
    }
}

.col{
	position: relative;
}
.col img{
	max-width: 100%;
	width: 550px;
	height: auto;
	object-fit: cover;
	border-radius: 12px;
}
.layer{
	background: transparent;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 12px;
	transition: all .40s;
}
.layer:hover{
	background: linear-gradient(rgba(0,0,0,0.5) 0%, #191919);
}
.layer h3{
	position: absolute;
	width: 100%;
	font-size: 25px;
	font-weight: 500;
	color: var(--bg-color);
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: all .40s;
}
.layer:hover h3{
	bottom: 52%;
	opacity: 1;
}

.layer h5{
	position: absolute;
	width: 100%;
	font-size:17px;
	font-weight: 500;
	color: var(--bg-color);
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: all .40s;
}
.layer:hover h5{
	bottom: 48%;
	opacity: 1;
}

.service-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 5rem;
    padding: 0 20px;
}

.row {
    background: #ffffff;
    box-shadow: 18px 0px 87px 0px rgba(10, 15, 70, 0.07);
    border-radius: 12px;
    padding: 45px;
    transition: transform 0.45s ease;
    cursor: pointer;
}

.s img {
    height: 65px;
    width: 65px;
    background: #f75124;
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.s.s-two img {
    background: #baebcd;
}

.s.s-three img {
    background: #d9d1fa;
}

.s.s-four img {
    background: #faedce;
}

.row h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.row h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.row p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.row:hover {
    will-change: transform;
    transform: perspective(1000px) rotateX(4.8deg) rotateY(10.23deg) scale(1.05);
}

.cta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 5rem;
    text-align: center;
    padding: 0 20px;
}

.wrap {
    background: #ffffff;
    box-shadow: 18px 0px 87px 0px rgba(10, 15, 70, 0.07);
    border-radius: 12px;
    padding: 40px;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.wrap:hover {
    transform: scale(1.05);
}

.one {
    background: #baebcd;
}

.two {
    background: #d9d1fa;
}

.three {
    background: #faedce;
}

.wrap h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.wrap p {
    font-size: 14px;
    color: #444;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-content,
    .cta-box {
        grid-gap: 1.5rem;
    }

    .row,
    .wrap {
        padding: 30px;
    }

    .row h3,
    .wrap h3 {
        font-size: 18px;
    }

    .row p,
    .wrap p {
        font-size: 14px;
        line-height: 1.6;
    }

    .s img {
        height: 50px;
        width: 50px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .row,
    .wrap {
        padding: 20px;
    }

    .row h3,
    .wrap h3 {
        font-size: 16px;
    }

    .row p,
    .wrap p {
        font-size: 13px;
    }

    .s img {
        height: 45px;
        width: 45px;
    }
}

/* Professional Skillset Section */
.skillset {
    padding: 50px;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

.skillset h1 {
    color: #b968c7;
    margin-bottom: 30px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.skillset .skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns by default */
    gap: 20px;
    justify-items: center;
}

.skillset .skill-card {
    border: 1px solid #b083f8;
    border-radius: 8px;
    padding: 20px;
    width: 100px;
    height: 100px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.skillset .skill-card img {
    width: 60px;
    height: 60px;
}

.skillset .tooltip {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    transition: visibility 0.3s ease;
}

.skillset .skill-card:hover {
    transform: scale(1.1);
}

.skillset .skill-card:hover .tooltip {
    visibility: visible;
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .skillset .skills-grid {
        grid-template-columns: repeat(4, 1fr); /* Maintain 4 columns */
        gap: 15px;
    }
}

@media screen and (max-width: 992px) {
    .skillset .skills-grid {
        grid-template-columns: repeat(3, 1fr); /* Reduce to 3 columns */
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .skillset .skills-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller devices */
    }

    .skillset .skill-card {
        width: 90px;
        height: 90px;
    }

    .skillset .skill-card img {
        width: 50px;
        height: 50px;
    }

    .tooltip {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .skillset .skills-grid {
        grid-template-columns: repeat(4, 1fr); /* Fixed layout */
        grid-template-rows: repeat(3, auto); /* Fixed layout */
        gap: 10px;
    }

    .skillset h1 {
        font-size: 1.5rem;
    }

    .skillset .skill-card {
        width: 80px;
        height: 80px;
        padding: 10px;
    }

    .skillset .skill-card img {
        width: 40px;
        height: 40px;
    }

    .tooltip {
        font-size: 12px;
    }
}



.contact{
	background: gray;
	width: 64%;
	margin: 100px auto;
	padding: 70px 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 12px;
	background-image: url(../img/intro.png);
	background-size: cover;
}
.center h3{
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 3px;
	color: var(--bg-color);
}
.center p{
	font-size: var(--p-font);
	color: var(--bg-color);
	line-height: 26px;
	margin-bottom: 25px;
}
.contact .action form input[type="email"] {
	max-width: 100%;
	width: 470px;
	padding: 12px 15px;
	background: var(--bg-color);
	color: var(--text-color);
	border: none;
	outline: none;
	margin: 0 10px 20px 0;
	border-radius: 30px;
}
.contact .action form input[type="submit"] {
	padding: 12px 40px;
	background: var(--main-color);
	color: var(--bg-color);
	border: none;
	outline: none;
	margin: 0 10px 20px 0;
	border-radius: 30px;
	cursor: pointer;
}

.ends{
	text-align: center;
	padding: 40px;
}
.ends p{
	font-size: var(--p-font);
	letter-spacing: 1px;
}


.education {
	padding: 80px 18%;
  }

  .education h2 {
	font-size: var(--h2-font);
	font-weight: 500;
	margin-bottom: 40px;
	text-align: center;
  }

  .education-timeline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 40px;
  }

  .education-item {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 30px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .education-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }

  .education-item h3 {
	font-size: 1.8rem;
	margin-bottom: 20px;
  }

  .education-item p {
	font-size: var(--p-font);
	color: var(--secound-color);
	line-height: 1.6;
  }

  .education-item .year {
	font-weight: bold;
	color: var(--main-color);
  }

  
  
/* Footer */
.ends {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: white;
}

.ends p {
    font-size: var(--p-font);
}

.ends a {
    margin: 0 10px;
    font-size: 20px;
    color: white;
    transition: color 0.3s ease;
}

.ends a:hover {
    color: var(--main-color);
}

/* Responsive Contact and Footer */
@media screen and (max-width: 768px) {
    .contact {
        padding: 30px 5%;
    }

    .contact .center h3 {
        font-size: 1.8rem;
    }

    .contact .center p {
        font-size: 1rem;
    }

    .contact .action form input[type="email"],
    .contact .action form input[type="submit"] {
        width: 100%;
        margin: 10px 0;
    }

    .ends {
        padding: 15px;
    }

    .ends p {
        font-size: 0.9rem;
    }
}

/* For very small screens (e.g., 480px) */
@media screen and (max-width: 480px) {
    .contact .center h3 {
        font-size: 1.5rem;
    }

    .contact .center p {
        font-size: 0.9rem;
    }

    .ends p {
        font-size: 0.8rem;
    }

    .ends a {
        font-size: 18px;
    }
}




  