/* About Page Specific Styles */

.about-main {
  padding: 60px 20px;
  background-color: #f8fff8;
  color: #000;
}

.about-section {
  padding: 60px 0;
}

.about-grid,
.mission-grid,
.company-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.about-left,
.mission-text,
.vision-text,
.company-text {
  flex: 1 1 55%;
  font-size: 20px;
  line-height: 1.7;
}

.about-right,
.mission-img,
.vision-img,
.company-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: whitesmoke;
  border-radius: 6px;
  color: #000; /* FIXED: changed from #fff to #000 for visibility */
  flex-direction: column;
}

.highlight {
  font-weight: bold;
  color: #FFC300;
  text-transform: uppercase;
  font-size: 40px;
  margin-bottom: 10px;
  display: inline-block;
}

.highlight-box {
  background-color: #FFC300;
  padding: 4px 10px;
  font-weight: bold;
  border-radius: 3px;
  margin-right: 5px;
  color: #000;
}

.card {
  background: white;
  color: #000; /* FIXED: white bg + black text */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex: 1 1 40%;
}

.card h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #000; /* FIXED: match text color */
}

.strength-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

.strength-item h4 {
  margin-bottom: 5px;
  font-size: 16px;
  color: #333;
}

.strength-item p {
  font-size: 14px;
  color: #444;
}

blockquote {
  background: #f5f5f5;
  border-left: 4px solid #ccc;
  padding: 15px;
  font-style: italic;
  margin-top: 20px;
}

.features-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Hero Image Section */
.hero-image-section {
  position: relative;
  background-image: url('../Images/about-us.jpg'); /* FIXED: backslash & space */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.hero-image-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-content .btn.btn-primary {
  background-color: #FFC300;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  border: none;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Mulish', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding-top: 60px;
}

.logo img {
  height: 50px;
  width: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: yellow;
}

.nav {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 220px;
  z-index: 999;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Search Box */
.search-box {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
}

.search-box input {
  padding: 5px 10px;
  border: none;
  outline: none;
}

.search-box button {
  background: #FFC300;
  border: none;
  padding: 0 10px;
  color: white;
  font-size: 16px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background-color:  #FFC300;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: none;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero-grid,
  .split,
  .contact {
    flex-direction: column;
    align-items: center;
  }

  .search-box {
    margin-top: 10px;
  }
}

/* Loader Styles */
.custom-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Mulish', sans-serif;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.custom-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
}

.logo-base {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #FFC300;
  z-index: 1;
  mask-image: url('../images/color_remove.png');
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url('../images/color_remove.png');
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: height 0.1s linear;
}

.loader-percentage {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid #FFC300;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
