* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    background: black !important;
    color: white;
    font-family: Arial, sans-serif;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url('bgimg.jpg');
    background-size: cover;
    background-position: center;
}

.container {
    padding: 10px 20px;
}
.port {
    color: white;
    font-weight: 900;
    font-size: 30px;
    font-family: Arial, sans-serif;
}

.folio {
    color:#ff004f;
    font-weight: 900;
    font-size: 30px;
    font-family: Arial, sans-serif;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: fixed; /* Ensure navbar is fixed */
    top: 0; /* Stick to the top */
    left: 0; /* Stick to the left */
    width: 100%; /* Ensure it spans the full width */
    padding: 10px 20px; /* Adjust padding as needed */
    z-index: 1000; /* Ensure it stays above other elements */
    background: transparent; /* Default background is transparent */
    transition: background-color 0.3s ease-in-out; /* Smooth transition */
}

.navbar-scrolled {
        background-color:#ff004f; /* Change to desired pink */
        transition: background-color 0.3s ease-in-out;
       
    }
    

.logo {
    width: 140px;
}

nav h1 {
    margin: 0; /* Remove any extra margin */
    font-size: 30px; /* Adjust as per design */
}
nav ul {
    display: flex;
    gap: 30px; /* Space between list items */
    margin-left: 45%; /* Remove default margin */
    padding: 0; /* Remove default padding */
    align-items: center; /* Align list with "PORTFOLIO" */
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: white;
    font-weight: 900;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    font-family: Arial, sans-serif;
}


.portfolio-header {
    display: flex;
    align-items: center; /* Align "PORTFOLIO" with the nav items */
    gap: 3px; /* Adjust spacing between "PORTFOLIO" and the list */
}


.portfolio-header a{
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background:#ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}
.header-text {
    margin-top: 20%;
    font-size: 30px;
}

.header-text p {
    font-size: 40px; /* Specific size for <p>Hello, I'm</p> */
    margin-top: 20px;
    font-weight:900;
    color: white;
    font-family: Arial, sans-serif;
}

.header-text h1 span {
    color: #ff004f;
}

.header-text h1:first-of-type {
    font-size: 70px; /* Specific size for <h1><span>Prayrana Saha</span></h1> */
    font-weight: 900;
    font-family: Arial, sans-serif;
    color: white;
}

.header-text h1:last-of-type {
    margin-top: 3%;
    font-size: 40px; /* Specific size for <h1>I'm a <span class="dynamic-text"></span></h1> */
    font-weight: 900;
    font-family: Arial, sans-serif;
    color: white;
}

.dynamic-text {
    color: #ff004f;
    font-weight: 900;
    font-family: Arial, sans-serif;
    font-size: 40px; /* Ensures dynamic text matches the size of its parent */
}


#about {
    padding: 80px 0;
    color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-titles {
    margin-top: 15%;
    font-size: 40px;
    font-weight: 900;
    color: white;
    text-align: center;
    margin-bottom: 20px; /* Adjust spacing between About Me and the line */
}

.sub-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0; /* Space around the pink line text */
    color: #ff004f;
    font-weight: 700;
    font-size: 24px;
}

.sub-title-line::before,
.sub-title-line::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: #ff004f; /* Pink line color */
    margin: 0 10px; /* Space between line and text */
}

.about-col-2 p {
    color: white;
    font-size: 16px;
    line-height: 1.6; /* Better readability */
    margin-top: 20px; /* Space between paragraphs */
}




#skills {
    padding: 20px 5px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.titles{
    font-size: 36px;
    font-weight: bold;
    color: white;
    font-weight: 900;
}

.subtitles {
    font-size: 18px;
    color: #ff004f;
    margin-bottom: 40px;
    font-weight: 900;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.description {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}

.description h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color:#ff004f;
}

.description p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: white;
}

.read-more {
    padding: 10px 20px;
    background: #ff004f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.read-more:hover {
    background: #e60047;
}

.skills {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.skill {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill span {
    flex: 1;
    font-size: 16px;
    color:#ff004f;

}

.bar {
    flex: 3;
    background: #eee;
    height: 12px;
    border-radius: 5px;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
   
}

.bar .progress {
    height: 100%;
    background: #ff004f;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.percentage {
    flex: 1;
    text-align: right;
    font-size: 16px;
    color: white;
}





#services {
    text-align: center;
    background: white;
    padding: 20px 0; /* Reduced the padding to minimize the gap */
}

.sub-title {
    font-size: 40px;
    font-weight: 900;
    color: black;
    margin-bottom: 10px;
    margin-top: 0; /* Added this to remove any extra top margin */
}

.sub-title-line {
    color: #ff004f;
    font-weight: 500;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 40px;
}

.services-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.services-list div {
    background: black;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px black;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.services-list div:hover {
    transform: translateY(-10px);
    background: #ff004f;
    color: black; /* Text changes to black on hover */
}

.services-list div i,
.services-list div h2,
.services-list div p {
    color: #ff006f; /* Default pink color */
    transition: color 0.3s ease;
    font-weight: 700;
}

.services-list div:hover i,
.services-list div:hover h2,
.services-list div:hover p {
    color: black; /* Change to black on hover */
    font-weight: 700;
}

.services-list div i {
    font-size: 30px;
    margin-bottom: 20px;
}

.services-list div h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ff006f; /* Default pink for h2 */
}

.services-list div p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

/* Small and Large Cards */
.small-card {
    width: 300px;
}
.small-card h2 {
    color: #ff006f; /* Ensure color is set to pink */
}

.large-card {
    width: 500px;
}

.large-card h2 {
    color: #ff006f; /* Ensure color is set to pink */
}









#portfolio {
    padding: 50px 0;
    text-align: center;
}

.subtitle {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 900;
    color: white;
}

.work-slider {
    overflow: hidden; /* Ensures only 3 items are visible */
    width: 100%;
    position: relative;
}

.work-list {
    display: flex;
    transition: transform 1s ease-in-out; /* Slower sliding duration */
    gap: 20px;
}

.work {
    flex: 0 0 calc(33.33% - 20px); /* 3 items per row without cutting off */
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 700;
    margin-bottom: 15px;
    color: black;
}

.layer a {
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.slider-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.slider-buttons button {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    background: #ff004f;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.slider-buttons button:hover {
    background: #ff006f;
}





.contact-left{
    flex-basis: 35% ;
}
.contact-left .title{
    color: white ;
}
.contact-left p{
    color: white ;
}

.contact-right{
    flex-basis: 60% ;
}

.contact-left p{
    margin-top: 30px;
}

.contact-left p i {
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
  

  .contact-right form{
    width:100%;
  }

  form input, form textarea{
    width: 100%;
    border: 0;
    outline:none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color:#fff;
    font-size: 18px;
    border-radius: 6px;
  }

.btn-btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    font-weight: 800;
    cursor: pointer;
    background: #ff004f;
    border-radius: 10px;
  }


  .copyright{
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background:white;
    font-weight: 900;
    margin-top: 20px;
    color: black;
  }

  .copyright i{
    color: #ff004f;
  }
