/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 0;
    text-align: left; /* Ensure body text is left-aligned */
}

/* Reset spacing issues */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header setup */
header {
    background: #229caa;
    color:white;
    padding: 10px;
    overflow: hidden; /* Contain floats */

}

.header-text {
    float: left;
    width: 65%;
	
	position:relative;
	top:5px;
}
.subHeader-text {
    float: left;
    width: 100%;
		
}
.logo {
  position: absolute;
  top: 25px;
  right:25px;
  width: clamp(150px, 25vw, 400px); /* Responsive width between 100px and 400px */
  height: auto; /* Maintain aspect ratio */
  display: block;
  margin: 0;
  padding: 0;
    
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    margin-bottom: 5px;
}

h1 {
    font-weight: bold;
    font-size: 1.52em;
	 color: #3e3e3e;
}

h3 {
    padding-top:5px;
    font-weight: bold;
    font-size: 1em;
	 color:  #3e3e3e;
	
}

h2 {
    font-weight: bold;
    font-size: 1.1em;
	color:  #3e3e3e;
}


nav {
  background-color: #229caa;
  padding-bottom: 10px;
  text-align: center;
}

nav .nav-wrapper {
  margin: 0 auto;
  max-width: 60vw;
  width: 100%;
}

nav ul {
  display: table;
  width: 100%;
  table-layout: fixed; /* distribute columns evenly */
  border-spacing: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding: 10px 0;
  white-space: nowrap;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 0.9em;
  display: block;
  width: 100%;
}

/* Responsive full width on small screens */
@media (max-width: 768px) {
  nav .nav-wrapper {
    max-width: 100%;
  }
}


nav ul li a:hover {
    text-decoration: underline;
	color: blue;
}




/* Default styles for mobile devices (full width) */
.container {
    width: 100%; /* Full width on mobile */
    margin: 0 auto; /* Center the container */
    padding: 10px; /* Optional: Add padding for spacing */
	text-align:left;
    box-sizing: border-box; /* Ensure padding is included in the width */
}


/* Sections */
.about, .features, .screenCaptures, .download, .contact {
    margin-top: 40px;
	padding: 10px; /* Added padding */
    text-align: left; /* Ensure section content is left-aligned */
}

ul {
padding-left:50px;
}

/* Buttons */
.button, .contact-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: left; /* Ensure button text is left-aligned */
}

.button { margin: 10px; }
.contact-button { margin-top: 10px; }

button[type="submit"] {
  font-size: 16px; /* Adjust font size */
  padding: 10px 20px; /* Adjust padding for button size */
  border: 2px solid #4CAF50; /* Button border */
  border-radius: 5px; /* Rounded corners */
  background-color: #f8f8f8; /* Button background color */
  color: #333; /* Button text color */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s, border-color 0.3s; /* Smooth transition */
}

button[type="submit"]:hover {
  background-color: #e0e0e0; /* Background color on hover */
  border-color: #45a049; /* Border color on hover */
}

button[type="submit"]:active {
  background-color: #d4d4d4; /* Background color when clicked */
  border-color: #388e3c; /* Border color when clicked */
}

/* Form Elements */
.form-group { 
    margin-bottom: 0px;
    padding: 10px; /* Added padding */
    text-align: left; /* Ensure form content is left-aligned */
}

label { 
    display: block; 
    margin-bottom: 5px;
    padding: 10px 0; /* Added padding */
    text-align: left; /* Ensure labels are left-aligned */
}

input, textarea { 
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 10px; /* Added spacing */
    text-align: left; /* Ensure input text is left-aligned */
}

.required::after { content:" *"; color: red; }

#output { 
    margin-top: 20px;
    padding: 10px; /* Added padding */
    text-align: left; /* Ensure output content is left-aligned */
}

.copy-btn { 
    margin-top: 10px;
    padding: 10px; /* Added padding */
    text-align: left; /* Ensure button text is left-aligned */
}


   
/* Container for all tutor profiles */
.tutor-container {
    display: flex; /* Enable Flexbox */
    flex-wrap: wrap; /* Allow profiles to wrap to the next row if needed */
    gap: 20px; /* Add spacing between profiles */
    padding: 20px; /* Add padding around the container */
}

/* Individual tutor profile */
.tutor-profile {
    display: flex; /* Enable Flexbox for each profile */
    border: 1px solid #ccc; /* Add a border for visual clarity */
    padding: 10px; /* Add padding inside the profile */
    box-sizing: border-box; /* Include padding and border in the width */
    flex: 1 1 calc(50% - 10px); /* Allow profiles to grow and shrink, and set base width to 50% minus half the gap */
}

/* Image container */
.image-container {
    width: 30%; /* Set width to 30% of the profile */
    aspect-ratio: 3 / 4 /* Maintain 3:4 aspect ratio */
    overflow: hidden; /* Ensure the image doesn't overflow */
    border: 1px solid black; /* Add a border */
    padding: 5px; /* Add padding inside the image container */
    box-sizing: border-box; /* Include padding and border in the width */
}

/* Image styles */
.image-container img {
    width: 100%; /* Make the image fill the container */
    height: 100%; /* Make the image fill the container */
    object-fit: cover; /* Ensure the image covers the container without distortion */
}

/* Text content container */
.text-content {
    width: 70%; /* Set width to 70% of the profile */
    padding-left: 20px; /* Add spacing between image and text */
    box-sizing: border-box; /* Include padding in the width */
}

/* Contact button */
.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px; /* Add spacing above the button */
}

.custom-file-input::file-selector-button {
  font-size: 16px; /* Adjust font size */
  padding: 10px 20px; /* Adjust padding for button size */
  border: 2px solid #4CAF50; /* Button border */
  border-radius: 5px; /* Rounded corners */
  background-color: #f8f8f8; /* Button background color */
  color: #333; /* Button text color */
  cursor: pointer; /* Pointer cursor on hover */
}

.custom-file-input::file-selector-button:hover {
  background-color: #e0e0e0; /* Background color on hover */
}

.faq-item {
  margin-bottom: 25px;
  padding: 15px;
  background-color: #f1f1f1;
  border-left: 5px solid #007ACC;
  border-radius: 5px;
}

.faq-item h3 {
  margin-top: 0;
  color: #333;
}

.faq-item p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

 .screenshots {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
  }

  .screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .screenshots-grid img {
    width: 100%;
    height: auto;
    max-width: 480px;
    border: 0;
  }

  .screenshot-item {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
  }

  @media (max-width: 768px) {
    .screenshot-item {
      flex: 1 1 100%;
    }
  }

.icon-text-wrapper {
  max-width: 100%; /* full width container */
  overflow: hidden; /* clear floats inside */
}

.icon {
  float: left;
  width: clamp(90px, 10vw, 128px);
  height: clamp(90px, 10vw, 128px);
  margin-right: 7px; /* space between icon and text */
  margin-bottom: 0px; /* space below icon for wrapping */
}

.text {
  margin: 0;
  /* no special float or display needed */
}

.quick-look-button {
  margin-bottom: 1rem;
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
.quick-look-button:hover {
  background-color: #005fa3;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.screenshot-item {
  cursor: zoom-in;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.screenshot-item.zoomed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  z-index: 9999;
}

.screenshot-item.zoomed img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}