/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #F9F9F9; /* Light gray background */
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section with Overlay */
.about-hero {
  background: url('/images/about_hero_bg.webp') center/cover no-repeat;
  position: relative;
  color: white;
  padding: 100px 0;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay to enhance text visibility */
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2; /* Keeps content above overlay */
}

.about-hero h1 {
  font-size: 3.2em;
}

.about-hero p {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Technology Section Styling */
.technology-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f9ff, #e0f7fa); /* Gradient Background */
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.technology-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: #00bfa6;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.15;
}

.technology-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: #ffb74d;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.15;
}

.technology-section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.fancy-column {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fancy-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #00BFA6;
  transition: width 0.3s ease;
}

.fancy-column:hover::before {
  width: 100%;
}

.fancy-column:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.fancy-column h2 {
  font-size: 2em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00BFA6, #00695c);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: bold;
}

.fancy-column p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Add an arrow to the column for design */
.fancy-column::after {
  content: '→';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3em;
  color: #00BFA6;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.fancy-column:hover::after {
  opacity: 0.3;
}

/* Fancy Background Shapes for the First Column */
.fancy-column {
  position: relative;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Ensures shapes don't overflow the box */
}

/* Background gradient */
.fancy-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 102, 204, 0.1), rgba(0, 191, 166, 0.1), rgba(17, 73, 244, 0.1));
  z-index: -2; /* Behind the shapes */
}

/* Curved organic blob shape */
.blob-shape-2 {
  position: absolute;
  bottom: -20px;
  left: -40px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 102, 204, 0.3); /* Light pink */
  border-radius: 40% 60% 70% 30% / 50% 50% 60% 40%; /* Creates an irregular blob */
  z-index: -1;
}

/* Irregular abstract shape 1 */
.abstract-shape {
  position: absolute;
  top: -60px;
  right: -30px;
  width: 250px;
  height: 150px;
  background-color: rgba(0, 191, 166, 0.3); /* Semi-transparent teal */
  border-radius: 60% 40% 30% 70% / 30% 60% 70% 40%; /* Irregular abstract shape */
  z-index: -1;
}

/* Dotted pattern decoration */
.dotted-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, #00BFA6 1px, transparent 1px);
  background-size: 10px 10px;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  z-index: -1;
}

/* Wave pattern at the bottom */
.wave-pattern {
  position: absolute;
  bottom: -10px;
  right: -20px;
  width: 180px;
  height: 60px;
  background-color: rgba(17, 73, 244, 0.3); /* Semi-transparent blue */
  clip-path: polygon(0 100%, 25% 25%, 50% 75%, 75% 0%, 100% 100%);
  z-index: -1;
}

/* Text adjustments for fancy columns */
.fancy-column h3 {
  font-size: 1.8em;
  color: #00BFA6;
}

.fancy-column p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}


/* Mobile view adjustments */
@media (max-width: 768px) {
  .technology-section .container {
    flex-direction: column;
    align-items: center;
  }

  .fancy-column {
    max-width: 100%;
    margin-bottom: 30px;
  }
}


/* Achievements Section */
.achievements-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.achievements-section h2 {
  text-align: center;
  font-size: 2.5em;
  color: #333;
  margin-bottom: 50px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusts to screen size */
  gap: 30px;
}

/* Individual Achievement Items */
.achievement-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

/* Achievement Year */
.achievement-year {
  display: block;
  font-weight: bold;
  color: #00BFA6;
  margin-bottom: 15px;
  font-size: 1.5em;
}

/* Achievements with Multiple Items */
.achievement-item ul {
  padding-left: 20px;
  list-style-type: disc;
}

.achievement-item ul li {
  margin-bottom: 10px; /* Add space between list items */
  color: #555;
}

/* Achievement Text */
.achievement-item p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 10px;
}

/* Achievement Logos */
.achievement-logo {
  margin-bottom: 15px;
}

.achievement-logo img {
  max-width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1)); /* Subtle shadow effect */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .achievements-section {
    padding: 60px 10px;
  }

  .achievements-section h2 {
    font-size: 2em;
  }

  .achievement-item {
    padding: 15px;
  }

  .achievement-year {
    font-size: 1.3em;
  }

  .achievement-logo img {
    max-width: 60px;
  }
}


/* Section Container */
.gallery-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
  overflow: hidden; /* Prevent horizontal overflow */
}

.gallery-header h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 40px;
}

/* Swiper Container Styling */
/* Swiper Container Styling */
.swiper-container {
  width: 100%;
  max-width: 1000px; /* Increase max-width for larger slideshow */
  height: 75vh; /* Increase height */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Center the swiper */
}

/* Swiper Slide Styling */
.swiper-slide {
  width: 300px; /* Increase width for larger slides */
  height: 450px; /* Increase height for larger slides */
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  transform: scale(0.8);
  overflow: hidden;
}

.swiper-slide-active {
  transform: scale(1);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
}

.swiper-slide-next,
.swiper-slide-prev {
  transform: scale(0.9);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure the image maintains its aspect ratio */
  border-radius: 15px;
}

/* Mobile and Tablet Responsive */
@media (max-width: 768px) {
  .swiper-container {
    height: 60vh; /* Adjust height for smaller screens */
  }

  .swiper-slide {
    width: 250px;
    height: 350px; /* Adjust size for mobile */
  }
}

@media (max-width: 480px) {
  .swiper-container {
    height: 50vh; /* Further reduce height on smaller screens */
  }

  .swiper-slide {
    width: 200px;
    height: 300px; /* Further adjust size for very small screens */
  }
}


.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  width: 100%; /* Make sure slides take up full width */
  height: 100%; /* Keep height consistent */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px; /* Optional padding to prevent any clipping */
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure the full image is shown without clipping */
  border-radius: 15px;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #00BFA6;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10; /* Ensure arrows are visible on top of everything */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.9); /* Slightly lighter hover effect */
}

/* Swiper Pagination Bullets */
.swiper-pagination {
  bottom: 10px; /* Adjust position if needed */
  z-index: 10; /* Ensure dots are visible on top of everything */
}

.swiper-pagination-bullet {
  background-color: #00BFA6; /* Use the theme color */
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background-color: #007bff; /* Active bullet color */
  opacity: 1;
}


/* Mobile and Tablet Responsive */
@media (max-width: 768px) {
  .swiper-container {
    height: 50vh;
  }

  .gallery-header h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .swiper-container {
    height: 40vh;
  }

  .gallery-header h2 {
    font-size: 1.8em;
  }
}



/* Team Section - Complete Redesign with Circular Images */
.team-section {
  background-color: #f9fafb;
  position: relative;
  padding: 120px 0 160px; /* Increased bottom padding to accommodate card spacing */
  overflow: hidden;
}

/* Modern geometric background elements */
.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 191, 166, 0.03) 0%, rgba(17, 73, 244, 0.03) 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}

.team-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 73, 244, 0.03) 0%, rgba(0, 191, 166, 0.03) 100%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 1;
}

.team-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Elegant heading with accent line */
.team-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 100px; /* Increased to accommodate circular images */
  position: relative;
}

.team-section h2::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00BFA6, #1149F4);
  border-radius: 2px;
}

/* Modern team grid layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 80px 50px; /* Increased vertical gap for circular images */
}

/* Professional card design */
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: visible; /* Changed to visible to show the circular image */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-top: 100px; /* Increased padding to push content down further */
  margin-top: 100px; /* Increased margin to position card further down */
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Circular image container positioned to overlap the card */
.team-card .image-container {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 5px solid white;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* Subtle gradient ring accent around avatar */
.team-card .image-container::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #00BFA6, #1149F4, #00BFA6);
  z-index: -1;
  filter: blur(6px);
  opacity: 0.35;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.team-card:hover .image-container {
  transform: translateX(-50%) scale(1.05);
}

.team-card:hover .image-container::after {
  opacity: 0.55;
  filter: blur(8px);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

/* Content area with improved spacing */
.team-info {
  padding: 40px 30px 30px; /* Increased top padding to create more space below image */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

/* Name with strong typography */
.team-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px 0;
}

/* Position with brand accent */
.team-info .position {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #026e5f;
  background: linear-gradient(135deg, #d1fae5, #bfe9ff);
  border: 1px solid rgba(0, 191, 166, 0.25);
  padding: 6px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Qualification with clean styling */
.team-info .qualification {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f3f4f6;
  border-radius: 8px;
  line-height: 1.6;
}

/* Bio with improved readability */
.team-info .bio {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: left;
}

/* Social media links with modern styling */
.team-social {
  display: flex;
  gap: 12px;
  margin-top: auto;
  justify-content: center;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #f3f4f6;
  border-radius: 50%;
  color: #4b5563;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(0, 191, 166, 0);
}

.team-social a:hover {
  background: linear-gradient(135deg, #00BFA6, #1149F4);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(0, 191, 166, 0.12);
}

/* Keyboard accessibility */
.team-social a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px white, 0 0 0 6px rgba(0, 191, 166, 0.6);
}

/* Decorative elements for cards */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #00BFA6 0%, #1149F4 100%);
  opacity: 0.8;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .team-section {
    padding: 100px 0 140px;
  }
  
  .team-section h2 {
    font-size: 38px;
    margin-bottom: 90px;
  }
  
  .team-grid {
    gap: 70px 40px;
  }
  
  .team-card {
    padding-top: 90px; /* Adjusted for medium screens */
    margin-top: 90px;
  }
  
  .team-card .image-container {
    width: 140px;
    height: 140px;
    top: -70px;
  }
  
  .team-info {
    padding: 35px 25px 25px;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 80px 0 120px;
  }
  
  .team-section h2 {
    font-size: 32px;
    margin-bottom: 80px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px 30px;
  }
  
  .team-card {
    padding-top: 80px; /* Adjusted for smaller screens */
    margin-top: 80px;
  }
  
  .team-card .image-container {
    width: 120px;
    height: 120px;
    top: -60px;
  }
  
  .team-info {
    padding: 30px 25px 25px;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 60px 0 100px;
  }
  
  .team-section h2 {
    font-size: 28px;
    margin-bottom: 70px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 50px 25px;
  }
  
  .team-card {
    padding-top: 70px; /* Adjusted for mobile screens */
    margin-top: 70px;
  }
  
  .team-card .image-container {
    width: 100px;
    height: 100px;
    top: -50px;
  }
  
  .team-info {
    padding: 25px 20px;
  }
  
  .team-info h3 {
    font-size: 22px;
  }
}

