@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  font-family: "Poppins", sans-serif;
}
.header {
  background: url("../public/aboutbg.png");
  background-size: cover;
}

/* Main Container */
.philosophy-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  min-height: 450px;
}

.philosophy-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

/* Sections Styling */
.philosophy-content,
.thesis-content {
  flex: 1;
  max-width: 500px;
}

/* Heading Styles */
.section-header {
  font-size: 32px;
  font-weight: 600;
  color: #0f5182;
  margin-bottom: 20px;
}

@media (max-width:480px) {
  .section-header{
    text-align: justify;
  }
  
}

/* Paragraph Styling */
.philosophy-content p {
  text-align: left;
  line-height: 25.6px;
  color: #333;
}


/* Accordion Styling */

.accordion {
  --bs-accordion-border-radius: 0px;
  --bs-accordion-border-width: 0px;
}
.accordion-item {
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}

/* Default button style - Grey background */
.accordion-button {
  width: 100%;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  padding: 15px;
  color: black; /* Default text color */
  cursor: pointer;
  transition: all 0.3s linear;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0px;
}
.accordion-button::after {
  width: 0px;
  height: 0px;
}

/* Icon styling */
.accordion-icon {
  margin-right: 20px;
  margin-left: 10px;
  font-weight: 900;
}
.accordion-angle {
  position: absolute;
  right: 0;
  margin-right: 40px;
  transition: transform 0.3s linear;
}

/* Default content is hidden */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s linear, padding 0.3s linear;
  padding: 0px 20px;
  font-size: 16px;
  color: #333;
}
.accordion-content p {
  margin-bottom: 0;
}

/* When accordion is active (Opened) */
.accordion-item.active .accordion-content {
  max-height: 150px;
  padding: 15px 20px;
}

/* Hover Effect */
.accordion-button:hover {
  background-color: #0f5182 !important;
  color: white;
}

/* Active State - When Open */
.accordion-item.active .accordion-button {
  background-color: #0f5182 !important;
  color: white;
}

/* Rotate the icon when active */
.accordion-item.active .accordion-angle {
  transform: rotate(90deg);
  transition: 0.3s linear;
}
.accordion-button:not(.collapsed) {
  background-color: #f1f1f1;
  color: black;
}
.accordion-button:not(.collapsed):hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .philosophy-container {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .philosophy-content,
  .thesis-content {
    max-width: 100%;
  }

  .philosophy-content p {
    text-align: left;
    font-size: 14px;
  }

  .accordion-button {
    text-align: center;
  }
}

@media(max-width: 576px){
  .philosophy-content p {
    text-align: justify;
  }
}

/* General Section Styling */
.why-work-with-us {
  background-color: #06416f;
  color: #fefefe;
  padding: 60px 20px;
  font-weight: 600;
}

/* Container */
.container {
  text-align: center;
  max-width: 1200px;
}

/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: left;
  line-height: 35px;
}

/* Feature Card */
.feature-card {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  flex: 1 1 calc(50% - 30px); /* 2 cards per row on medium & large screens */
  background-color: #00437a;
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease;
  border-radius: 10px;
}

/* Hover Effect */
.feature-card:hover {
  transform: translateY(-8px);
  background-color: #00437a;
}

/* Section Title */
.section-title {
  font-size: 32px;
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Always 2 per row on big screens */
  gap: 30px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 30px;
  border-radius: 8px;
  background-color: #00437a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #ccc;
}

.icon-wrapper {
  margin-bottom: 15px;
  color: #ffffff; /* Icon color */
}

.icon-wrapper i {
  font-size: 50px;
}

.text-wrapper {
  flex: 1;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.6;
  max-width: 80%;
  font-weight: 400;
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr; /* Stack cards on smaller screens */
  }
  .feature-description {
      max-width: 100%;
  }
}

.team-section-container{
  display: flex;
  justify-content: center;
  padding: 60px 20px 0px 20px;
}



.team-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* Team section heading */
.team-heading {
  text-align: left;
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 600;
  color: #0f5182;
}

/* Team description */
.team-description {
  text-align: left;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 25.6px;
  color: #333;
  font-weight: 400;
}

/* Flexbox container for team cards */
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, 280px);
  justify-content: center;
  gap: 20px;
}

/* Employee card */
.team-card {
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding:40px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-5px);
}

/* Employee image */
.team-card-image {
  max-width: 80%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.team-card-image:hover {
  filter: grayscale(0%);
}
/* Info section */
.team-card-info {
  background-color: rgba(255, 255, 255, 0.95);
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

/* Employee name */
.team-card-name {
  font-size: 16px;
  font-weight: 500;
  margin: 0px;
  color: #023047;
}

/* Social media icons */
.team-card-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-card-icon {
  width: 18px;
  height: 18px;
  color: #023047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  padding: 10px;
}

/* .team-card-icon:hover {
  background-color: #005f73;
} */
@media (max-width: 1096px) {
  .team-section {
    padding: 60px 20px 20px 20px;
  }
}
/* Responsive Design */
@media (max-width: 1023px) {
  .team-section {
    padding: 60px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 60px 20px 20px 20px
  }
}
