/*====================================================
					Base Styles
======================================================*/

/* General body styling for typography and base color */
body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	margin: 0rem;
	padding: 0rem;
	color: #333;
}
  
/* Background images for each page */
body.home-page {
	background-image: url("../images/Home-Background.jpg");
	background-size: cover;
	background-attachment: scroll;
	background-position: left;
	background-repeat: no-repeat;    
}

body.projects-page {
	background-image: url("../images/Projects-Background.jpg");
	background-size: cover;
	background-attachment: scroll;
	background-position: center;
	background-repeat: no-repeat;
}

body.contact-page {
	background-image: url("../images/Contact-Background.jpg");
	background-size: cover;
	background-attachment: scroll;
	background-position: center;
	background-repeat: no-repeat;
}



/*=====================================================
	   				Header & Navigation
=======================================================*/

/* Style header background and text */
header {
	background-color: #004080;
	color: white;
	padding: 20px;
	text-align: center;
}

/* Style for the nav list layout */
nav ul {
	list-style: none;
	padding: 0rem;
	display: flex;
	justify-content: center;
	gap: 30px;
}

/* Style in the nav menu */
nav ul li a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

/* Hover effect for the nav links */
nav ul li a:hover {
	text-decoration: underline;
}



/*===================================================
    				Main Section Styling
=====================================================*/
    
/* Shared Main Section Styling */
.home-page main, .projects-page main, .contact-page main {
	background-color: rgba(255, 255, 255, 0.96);
	padding: 2rem;
	margin: 2rem auto;
	max-width: 1000px;
	border-radius: 12px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
 
/* Profile image styling on home page */
.profile-pic {
	width: 150px;
	height: auto;
	border-radius: 50%;
	display: block;
	margin: 0 auto 20px;
}
  
/* Headings inside the sections (it is used in all the website) */
section h2 {
    color: #004080;
    border-bottom: 2px solid #ddd;
}



/*==================================================
     Table Style (for skills table in Profile)
====================================================*/

/* Table layout and spacing */
table {
    width: 100%;
    border-collapse: collapse;
}

/* Header background color */
th {
	background-color: #9ee9f553;
}

/* Table cell padding and border */
th, td {
    border: 1px solid #ccc;
	padding: 10px;
    text-align: left;
}


  
/*===================================================
     Education / Experience / Hobbies sections
=====================================================*/

/* Style for the education block */
.Education {
	background-color: #ffe6e688;
	padding: 6px;
	border-left: 4px solid #004080;
	border-bottom: 2px solid #004080;
}

/* Style for the job experience block */
.experience {
    background-color: #e6f2ff8b;
    padding: 17px;
    border-left: 4px solid #004080;
	border-bottom: 2px solid #004080;
}

/* Style for the hobbies block */
.hobbies {
    background-color: #ebffe690;
    padding: 6px;
    border-left: 4px solid #004080;
	border-bottom: 2px solid #004080;   
}

  
  
/*===================================================
    				Footer Styling
=====================================================*/

/* Footer layout and color */
footer {
    background-color: #004080;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 1px;
}



/*===================================================
    				Projects Section Styling
=====================================================*/

/* Dole logo in project section */
.Dole-logo {    
	height: 50px;
	width: 85px;
	margin-left: 400px;
}
  
/* Style for the quote section */
.comment {
    font-style: italic;
    background-color: #e6f2ff8b;
	padding: 17px;
    border-left: 4px solid #004080;
	border-bottom: 2px solid #004080;
}

/* Layout for the project sections */
.responsibilities-and-achievements, .High-Responsibility {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	padding: 0rem;
}

/* Left content (text) column */
.content-left {
	width: 60%;
}

/* First right image column */
.content-right {
	width: 40%;
	margin-top: 135px;
}

/* Second right image column */
.content-right2 {
	width: 40%;
}

/* Shared styles for the images */
.content-right img, .content-right2 img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(72, 72, 72, 0.1);
}



/* ===================================================
   				Contact Page Form Styling
=================================================== */

/* Layout of the form */
.contact-page form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
  
/* Label styles */
.contact-page label {
    font-weight: bold;
    margin-top: 1rem;
}
  
/* Input and textarea styling */
.contact-page input, .contact-page textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
  
/* Submit button styling */
.contact-page button {
    background-color: #4CAF50;
    color: rgb(255, 255, 255);
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.5s ease;
}
  
/* Button hover effect */
.contact-page button:hover {
    background-color: #3ca141;
}
  


/*===================================================
				Responsive Design
=====================================================*/
 
@media (max-width: 768px) {
	
	/* Home page*/
	.home-page main {
		padding: 1rem;
	}
  
	.profile-pic {
		width: 100px;
	}
  
	table {
		font-size: 0.9rem;
	}
	

	/* Projects page */

	.Dole-logo {
		width: 100px;
	}

	.responsibilities-and-achievements,
	.High-Responsibility {
		flex-direction: column;
	}
  
	.content-left,
	.content-right,
	.content-right2 {
		width: 100%;
		margin-top: 0;
	}


	/* Contact page */
	.contact-page form {
		padding: 1rem;
	}
  
	.contact-page input,
	.contact-page textarea {
		font-size: 0.9rem;
	}
  
	.contact-page button {
		font-size: 0.9rem;
		padding: 0.6rem;
	}
}