/* Responsive CSS file styles defined for smaller width devices */
/* CSS for tablet devices */
@media screen and (min-width: 576px) and (max-width: 820px) { 
	.logo { 
		padding: 0 3rem; 
	} 

	.hamburger { 
		display: block; 
		padding: 0 3rem; 
	} 

	.menu { 
		position: absolute; 
		right: 0; 
		padding: 0 3rem; 
		top: 75px; 
		background-image: linear-gradient(180deg, #74D7BB, #53C8B6, #35A99C); 
		display: none; 
		transition: all 0.25s; 
	} 

	.menu .menu-list { 
		flex-direction: column; 
	} 

	.portfolio { 
		padding: 0; 
	} 

	.about { 
		flex-direction: column; 
	} 

	.about .about-text { 
		padding: 2rem; 
	} 

	.about .about-image img { 
		padding: 2rem; 
	} 

	.services { 
		padding: 0; 
	} 

	.my-row { 
		gap: 10px; 
	} 

	.my-row .my-col { 
		text-align: center; 
		width: 35%; 
	} 

} 




/* CSS for mobile devices */
@media screen and (min-width: 280px) and (max-width: 576px) { 
	.hero { 
		justify-content: center; 
		color: #fff; 
		background-image: radial-gradient(circle, rgb(15 14 14 / 30%), rgb(102 96 96 / 40%), rgb(163 160 160 / 16%)), url('./Images/heroImg3.avif') ;
		padding: 1rem 2rem;
		background: linear-gradient(to bottom right, #8d2293, #beaa67); /* deep blue-green */
		margin-bottom: 1rem;
	} 

	.sub-heading { 
		color: #fff9f9cc; 
	} 

	.hero .intro-buttons { 
		gap: 20px; 
	} 

	.btn { 
		padding: 10px 30px; 
	} 

	.logo { 
		padding: 0 2rem; 
	} 

	.menu { 
		position: absolute; 
		right: 0; 
		padding: 0 2rem; 
		top: 75px; 
		background-image: linear-gradient(180deg, #35A99C, #53C8B6, #74D7BB); 
		display: none; 
		transition: all 0.25s; 
	} 

	.menu .menu-list { 
		flex-direction: column; 
	} 

	.hamburger { 
		display: block; 
		padding: 0 2rem; 
	} 

	@media (max-width: 600px) {
		.hero .headings h1 {
		  font-size: 1.7rem; /* Adjust as needed */
		  line-height: 1.3;
		}
	  
		.hero .headings h3,
		.hero .headings li , 
		.about .about-text h2,
		.about .about-text p{
		  font-size: 1rem;
		  line-height: 1.5;
		}
	  
		.hero .intro , .about .about-text{
		  padding: 80px 1rem 1rem; /* ensures spacing below navbar */
		  text-align: center;
		}
	  
		.hero .headings , .about .about-text{
		  padding: 0 1rem;
		  word-break: break-word;
		}
	  
		.hero li, .about p {
		  list-style-type: disc;
		  margin-left: 1.5rem;
		  text-align: left;
		}
	  }
	
		/* Project and Certification Section Styles */
		.projects-section, .certification-section{
			padding: 1rem 2rem;
			background: linear-gradient(45deg, #6337c3, #185a58); /* light box look */
			margin-bottom: 1rem;
		}
	
		@media (max-width: 768px) {
			.project-card, .cert-card {
			  flex: 0 0 85%; /* Increase width for better mobile view */
			}
		  }
		  
		  @media (max-width: 480px) {
			.project-card, .cert-card {
			  flex: 0 0 95%; /* Even larger for very small screens */
			}
		  }
		
		.certification-section {
			padding: 1rem 2rem;
			background: linear-gradient(to bottom right, #34422e, #a6138b); /* deep blue-green */
			margin-bottom: 1rem;
		}
	
		.project-box, .certification-box {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			gap: 1rem;
			margin-top: 1rem;
		  }
	
	
	
		  @media (max-width: 600px) {
	
			.about-text, .headings {
			  padding-top: 100px; /* Pushes content below the navbar */
			  padding-left: 1rem;
			  padding-right: 1rem;
			  font-size: 1rem;
			  text-align: center;
			}
		  
			.my-headings h1, 
			.about-text h2, 
			.headings h3 {
			  font-size: 1.5rem;  /* You can fine-tune this per heading */
			  line-height: 1.3;
			  word-break: break-word;
			}
		  
			.about-text p {
			  font-size: 1rem;
			  line-height: 1.5;
			}
		  }
	
	
	


	.portfolio { 
		padding: 0; 
		margin-left: 1rem; /* Add margin to the left side */
        margin-right: 1rem; /* Add margin to the right side */
		padding: 1rem 2rem; 
		background: linear-gradient(to bottom right, #d186b7, #78e16b); /* deep blue-green */
		margin-bottom: 1rem;
	} 

	.about { 
		flex-direction: column; 
	} 

	.about .about-text { 
		width: 90%; 
		padding: 1rem; 
	} 

	.about .about-image img { 
		width: 90%; 
		padding: 1rem; 
	} 

	/* .services { 
		padding: 0; 
	}  */



    .services { 
        padding: 0; 
	margin-left: 1rem; /* Add margin to the left side */
        margin-right: 1rem; /* Add margin to the right side */    
    } 
  


    .my-row { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        flex-direction: column; 
        margin: 2rem 0; 
        gap: 1rem; 
    } 
  
    .my-row .my-col { 
        text-align: center; 
        width: 100%; 
    } 



	.contact { 
		padding: 0; 
		padding: 1rem 2rem;
		background: linear-gradient(45deg, #8f798f, #91b492); /* light box look */
		margin-bottom: 1rem;
	} 


	#portfolio, #services, #projects, #certifications, #about, #contact {
		scroll-margin-top: 80px;
	  }
	

	.contact-content { 
		flex-direction: column; 
		align-items: center; 
		gap: 2rem; 
	} 

	.contact-form-container { 
		width: 80%; 
	} 

	.contact-form .form-controls { 
		width: 100%; 
	} 

	.contact-form .form-btn { 
		width: 100%; 
	} 

	.contact-details { 
		width: 80%; 
	} 

	.footer-menu { 
		padding: 0 2rem; 
	} 

	.footer-list-items { 
		margin: 0; 
	} 
}
