/* display.css - Styling for showintro.php */

html,body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  display: flex;
  flex-direction:column;
}

.intro-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
} 

.intro-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
  text-align:center;
}

.intro-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

.intro-subtitle-detail {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.intro-warning {
  text-align: center;
  font-size: 1.1rem;
  color: #888;
}

.team-container {
  flex: 1; /* Takes available vertical space */
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Section heading */
.team-title {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* Individual team cards */
.team-subtitle {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.team-subtitle-name {
  margin: 0 0 10px;
  color: #2c3e50;
  font-size: 18px;
}

.team-subtitle-bio{
  margin: 0;
  color: #555;
  line-height: 1.5;
}
.service-container {
     flex: 1;
    border: 1px solid #ddd;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Section title */
.service-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
}

/* Service card */
.service-subtitle {
    border: 1px solid #ddd;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s ease;
}



.service-subtitle-heading {
    margin: 0 0 10px;
    color: #333;
    font-size: 1.3em;
}

.service-subtitle-description {
    color: #444;
    line-height: 1.5;
}  

.service-warning {
   text-align: center;
  font-size: 1.1rem;
  color: #888;   
} 

/* Main content container */
.project-container {
    flex: 1; /* Makes main content fill available space */
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Section heading */
.project-title{
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

/* Project card */
.project-subtitle {
    background: #f5f9ff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Project title */
.project-subtitle-heading {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
}

/* Project description */
.project-subtitle-detail{
    color: #444;
    line-height: 1.6;
}



.faq-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.faq-title {
  text-align: center;
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-weight: bold;
}

.faq-subtitle {
  background: #f4f9ff;
  padding: 20px;
  margin-bottom: 20px;
  
  border-radius: 8px;
  transition: box-shadow 0.3s ease-in-out;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-subtitle-question {
  margin: 0 0 10px;
  font-size: 20px;
  color: #333;
  font-weight: bold;
}

.faq-subtitle-answer {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.faq-warning {
  text-align: center;
  color: #777;
  font-size: 18px;
  margin-top: 20px;
}

.contact-container {
	  flex: 1;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Headings */
.contact-container-title,
.contact-container-subtitle {
  text-align: center;
  color: #222;
  margin-bottom: 15px;
}

/* Labels */
label {
  display: block;
  font-weight: 600;
  margin: 12px 0 6px;
  color: #333;
}

/* Input fields and textarea */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  background-color: #fefefe;
}

input:focus,
textarea:focus {
  border-color: #0077cc;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button */
button[type="submit"] {
  background-color: #0077cc;
  color: white;
  padding: 12px 22px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #005fa3;
}


.terms-container {
     flex: 1;
    border: 1px solid #ddd;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}




/* Alert box for success or error messages */
.alert {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* =============================
   Responsive (Mobile-Friendly)
   ============================= */

@media (max-width: 768px) {
  .intro-container,
  .team-container,
  .service-container,
  .project-container,
  .faq-container,
  .faqs-container,
  .contact-container {
    margin: 20px 10px;
    padding: 15px;
  }

  .intro-title,
  .team-title,
  .service-title,
  .project-title,
  .faq-title,
  .faqs-title,
  .contact-container-title {
    font-size: 1.6rem;
  }

  .intro-subtitle,
  .team-subtitle-name,
  .service-subtitle-heading,
  .project-subtitle-heading,
  .faq-subtitle-question,
  .faqs-question {
    font-size: 1rem;
  }

  .intro-subtitle-detail,
  .team-subtitle-bio,
  .service-subtitle-description,
  .project-subtitle-detail,
  .faq-subtitle-answer,
  .faqs-answer {
    font-size: 0.95rem;
  }

  .alert {
    font-size: 0.95rem;
    padding: 10px 12px;
  }

  button[type="submit"] {
    width: 100%;
    font-size: 15px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .intro-title,
  .team-title,
  .service-title,
  .project-title,
  .faq-title,
  .faqs-title,
  .contact-container-title {
    font-size: 1.4rem;
  }

  .intro-subtitle,
  .service-subtitle-heading,
  .faq-subtitle-question,
  .faqs-question {
    font-size: 1rem;
  }

  .intro-subtitle-detail,
  .service-subtitle-description,
  .faq-subtitle-answer,
  .faqs-answer {
    font-size: 0.9rem;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 15px;
    padding: 8px 12px;
  }

  label {
    font-size: 15px;
  }

  .alert {
    font-size: 0.9rem;
    padding: 10px;
  }

  button[type="submit"] {
    font-size: 14px;
  }
}













































.faqs-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
 
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.faqs-title {
  text-align: center;
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-weight: bold;
}

.faqs-subtitle {
  background: #f4f9ff;
  padding: 20px;
  margin-bottom: 20px;
  
  border-radius: 8px;
  transition: box-shadow 0.3s ease-in-out;
}

.faq-subtitle:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faqs-question {
  margin: 0 0 10px;
  font-size: 20px;
  color: #333;
  font-weight: bold;
}

.faqs-answer {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.faqs-warning {
  text-align: center;
  color: #777;
  font-size: 18px;
  margin-top: 20px;
}

