/* Style sheet for website */

/* Import Playfair Display font */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400&display=swap');
}

/* General Reset */
body, ul, li, a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  font-family: 'Playfair Display', serif;
}

body {
  font-family: 'Playfair Display', serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #000; /* Fixed missing color code */
}

/* ====== NAVIGATION STYLING ====== */
nav {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #fff;
  font-size: 16px;
}

nav ul li.active, 
nav ul li a.active {
  font-weight: bold;
  text-decoration: underline;
}

/* Dropdown Styling */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 10;
}

.dropdown-content li {
  padding: 8px 20px;
}

.dropdown-content li a {
  color: #fff;
  font-size: 14px;
}

nav ul li:hover .dropdown-content {
  display: block;
}

/* Hover Effects */
nav ul li:hover,
nav ul li a:hover,
.dropdown-content li a:hover {
  color: #f7a206;
}

/* ====== TEAM TABLE STYLING ====== */
table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  font-size: 16px;
  text-align: left;
  background-color: #f7a206;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

table th, table td {
  padding: 12px;
  border: 1px solid #ddd;
}

table th {
  background-color: #f4f4f4;
  font-weight: bold;
  text-transform: uppercase;
}

table tr:nth-child(even),
table tr:nth-child(odd) {
  background-color: #f7a206;
}

/* Hover effect */
table tr:hover {
  background-color: #3405dd;
  color: #fff;
  transition: background-color 0.3s, color 0.3s;
}

/* Ensure images align properly in table */
table td img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 10px auto;
}

/* ====== HEADINGS & ALIGNMENTS ====== */
h1, h2 {
  text-align: center;
  color: #000;
  margin-top: 20px;
}

/* Center align text inside sections */
section h2, section p {
  text-align: center;
}

/* ====== CONTACT FORM STYLING ====== */
form {
  width: 50%;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #444; /* Dark background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: white;
}

/* Labels */
form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

/* Input fields */
form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  background-color: #f4f4f4;
  color: #333;
}

/* Submit button */
form button {
  background-color: #f7a206;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background-color: #d98c05;
}

/* ====== FOOTER STYLING ====== */
footer {
  background-color: #f7a206;
  color: #333;
  text-align: center;
  padding: 20px 10px;
  font-size: 16px;
  border-top: 2px solid #ccc;
}

footer p {
  margin: 5px 0;
}

/* ====== ABOUT US PAGE ====== */
.why-choose-dynamic {
  margin: 20px auto;
  padding: 20px;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.why-choose-item {
  margin-bottom: 20px;
  align-items: center;
  background-color: #d98c05; /* Explicit  background */
}

.where-it-started .content {
  display: flex;
  align-items: center;
  margin: 20px auto;
  max-width: 800px;
}

.where-it-started img {
  max-width: 300px;
  margin-right: 20px;
  border-radius: 8px;
}
/* Center the "Where It All Started" section */
.where-it-started {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 90%;
  margin: 40px auto;
}

/* Center the content */
.where-it-started .content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  gap: 20px; /* Space between text and image */
}

/* Ensure the image is properly sized */
.where-it-started img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

/* Ensure text is readable and properly aligned */
.where-it-started p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
}




/* ====== SERVICES WE OFFER PAGE ====== */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 90%;
  margin: 30px auto;
  text-align: center;
}

.service-box {
  background: #f7a206;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s, background-color 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-box:hover {
  transform: scale(1.05);
  background-color: #d98c05;
}
/* ====== WHY CHOOSE US STYLING ====== */
.why-choose-us {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 90%;
}

.why-choose-item {
  display: flex;
  align-items: center;
  background-color: #d98c05;
  color: white;
  padding: 20px;
  border-radius: 10px;
  width: 45%;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.why-choose-item:hover {
  transform: scale(1.05);
  background-color: #2804a6; /* Darker blue on hover */
}

.why-choose-item img {
  width: 100;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
}

.why-choose-item h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.why-choose-item p {
  font-size: 16px;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .why-choose-us {
    flex-direction: column;
    align-items: center;
  }

  .why-choose-item {
    width: 90%;
    flex-direction: column;
    text-align: center;
  }

  .why-choose-item img {
    margin: 0 auto 10px;
  }
}

  
/* ====== Values Page  ====== */
.values-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 90%;
  margin: 20px auto;
  gap: 20px;
}

.values-box {
  flex: 1;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .values-container {
    flex-direction: column;
  }
}
/* Home Page Background */
body {
  background: url('logo.jpg') no-repeat center center fixed;
  background-size: contain; /* Ensures the entire logo is visible */
  background-color: #f4f4f4; /* Fallback background color */
}

/* Optional: Overlay for better contrast */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5); /* Adjust transparency as needed */
  z-index: -1;
}

/* Centered content to keep text readable */
h1, h2, p, form, table {
  position: relative;
  text-align: center;
  z-index: 2;
}

 /* Chatbox styles */
    #chat-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 300px;
      background-color: #d98c05; /*  solid background for no see through  */
      border: 1px solid #ccc;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      overflow: hidden;
      font-family: Arial, sans-serif;
    }
    #chat-header {
      background-color: #3405dd;
      color: white;
      padding: 10px;
      font-weight: bold;
      text-align: center;
    }
    #chat-box {
      max-height: 300px;
      overflow-y: auto;
      padding: 10px;
      background-color: #d98c05; /*  solid background */
      font-size: 14px;
    }
    #chat-box div {
      margin-bottom: 10px;
    }
    .user { text-align: right; }
    .bot { text-align: left; }
    #chat-input {
      display: flex;
      border-top: 1px solid #ccc;
    }
    #chat-input input {
      flex: 1;
      padding: 8px;
      border: none;
      border-radius: 0;
      outline: none;
    }
    #chat-input button {
      padding: 8px 12px;
      background-color:#3405dd;
      color: white;
      border: none;
      cursor: pointer;
    }

