/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f4f4f4;  /* Main content background */
  color: #333;
}

/* Custom Topbar Styles */
.custom-topbar {
  background-color: #000;
  color: #fff;
}

.custom-topbar a {
  color: #fff;
  text-decoration: none;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 30px 20px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Adjust hero image (logo) to be a little smaller */
.hero-img {
  width: 100%;
  max-width: 600px;  /* Reduced from 800px for a smaller logo */
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Cards Section (Modern Modular Layout) */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin: 30px 0;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: 4px solid #ffd700; /* Yellow */
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-bottom: 10px;
  color: #000;
}

.card p {
  margin-bottom: 15px;
  color: #555;
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Footer Styles */
.footer {
  background-color: #000;
  color: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer h4 {
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.footer p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* Flexbox adjustments for footer alignment */
.footer .container:first-of-type {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

/* Optional: Remove link highlight for footer links */
.no-highlight {
  text-decoration: none;
}

/* Custom styling for the small square buttons */
.btn-sm-square {
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-sm-square:hover {
  background-color: #e9ecef;
}

/* Adjustments for smaller screens (optional) */
@media (max-width: 768px) {
  .footer .col-md-6 {
    padding: 0.75rem;
  }
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1; /* Makes the content take up available space */
}

/* Policy Page Styles */
.policies {
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.policy-nav button {
  border: 1px solid #ffd700;
  background-color: #000;
  color: #ffd700;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.policy-nav button:hover,
.policy-nav button.active {
  background-color: #ffd700;
  color: #000;
}

#policy-content {
  text-align: left;
}

#policy-content h2 {
  margin-top: 0;
}

/* Hover effect for About Us, Vision, Mission, Products & Services sections */
.bg-dark.text-light.rounded.p-4.shadow-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-dark.text-light.rounded.p-4.shadow-sm:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
