*{
    margin:0;
    padding: 0;
    font-family: "poppins", "Roboto",sans-serif;
}

.main-section{
    background-image: url(portfoliobg.png);
    width:100%;
    height: 100vh;
    background-position: center;
    background-size: cover;
    display: inline-block;
}

.header{
    width: 100%;
    height: 90px;
    /* background-color: black; */
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header.scrolled{
    background-color: #DC143C;
    color: black;
}

.header.scrolled a{
    color: white;
}

.header.scrolled b{
    color: white;
}

.header.scrolled span{
    color: white;
}


.navbar{
    display: flex;
    height: 100%;
    width:80%;
    justify-content: space-between;
    align-items: center;
    padding: 0px 100px 0 150px;
    gap: 100px;
}

.title{
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.title span{
    color: red;
}

.list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:30px;
    list-style: none;
    font-size: 20px;
    font-weight: 500;
}

.list li{
    padding: 20px;
}

.list a:hover{
    color: red;
}

.list a{
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
}

.main-heading{
    color: white;
    padding: 300px 0 0 150px;
    line-height: 70px;
}

.main-heading p:nth-child(1){
    font-size: 26px;
}

.main-heading p{
    font-size: 32px;
}

.main-heading p span{
    color: red;
}

.main-heading h2{
    font-size: 48px;
}

.main-heading button{
    background-color: red;
    color: white;
    padding: 10px 60px;
    font-size:24px;
    border-radius: 6px;
    border: 2px solid red;
    outline: none;
    margin-bottom: 100px;
}

.About-heading{
    text-align: center;
    padding: 50px 0 0 0px;
}

.About-me{
    width: 100vw;
}

.About-me h3{
    font-size: 36px;
    margin-bottom: 10px;
}

.Aboutsub-title{
    margin-top: 10px;
}

.Aboutsub-title span {
    content: '';
    display: inline-block;
    width: 30px;  
    height: 5px;  
    background-color: red; 
    vertical-align: middle;
    margin: 0 5px;
}

.About-main{
    display: flex;
    padding: 100px 150px 70px 150px;
    flex-wrap: wrap;
    /* background-color: aqua; */
}

.About-para{
    margin:100px 0 0 100px;
    line-height: 100px;
    width: 600px;
}

.About-para #para-head{
    font-size:28px;
    font-weight: bold;
}

.About-para #para-head span{
    color: red;
}

.About-para #para-second{
    font-weight: medium;
    line-height:25px;
    font-size: 20px;
}

.About-main button{
    background-color: red;
    color: white;
    padding: 10px 60px;
    font-size:24px;
    border-radius: 6px;
    border: 2px solid red;
    outline: none;
    margin-top: 30px;
}

 /* Skills Section */
.skills-section {
    padding: 50px 40px;
    text-align: center;
    background-color: #000;  
    color: white;  
}

.skills-section h3 {
    font-size: 36px;
    margin-bottom: 10px;
    color: white; 
}

.skillsub-title {
    display: inline-block;
    font-size: 16px;
    margin-bottom: 50px;
    color: red;   
    margin-top: 10px;
}

.skillsub-title span {
    content: '';
    display: inline-block;
    width: 30px;  
    height: 5px;  
    background-color: white; 
    vertical-align: middle;
    margin: 0 5px;
}

.skills-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    color: black;
    line-height: 25px;
}

.skill-card {
    background: white;  
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.skill-card h4 {
    color: black;  
    margin-bottom: 10px;
    font-size: 20px;
}

.skill-card p {
    font-size: 16px;
    color: black;  
}

.skill-card i{
    color: red;
}

.contact{
    text-align: center;
    padding: 50px 0 0 0;
}

.contact h3{
    font-size: 36px;
}

.contact-section {
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 0 0 150px;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    border: 1px solid white;
    border-radius: 10px;
}

.contact-info {
    max-width: 60%;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: black;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 16px;
    color: black;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 18px;
    color: red;
    margin-right: 10px;
}

.info-item span {
    font-weight: bold;
    margin-right: 5px;
}

.info-item p {
    color: black;
    margin-top: 20px;
}

.contact-message {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    padding: 100px 200px 0 150px;
}

.contact-message h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

.contact-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 50px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background-color: #d90000;
}


footer{
    text-align: center;
    padding: 20px 0;
    font-size: 20px;
    background-color: black;
}

footer span{
    color: white;
}

footer a{
    text-decoration: none;
    color: red;
}

a{
    color: white;
    text-decoration: none;
}

 