/* About Page Specific Styles */

/* Hero Section with Overlay */
.about-hero {
  background: url('/images/about_hero_bg.webp') center/cover no-repeat;
  position: relative;
  color: white;
  padding: 110px 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: linear-gradient(135deg, rgba(15, 42, 63, 0.78), rgba(0, 0, 0, 0.52));
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: var(--fs-h1, 3.2em);
  font-weight: 700;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: var(--fs-lead, 1.25em);
  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 0%, #e0f7fa 100%);
  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.1;
}

.technology-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: #1149F4;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.08;
}

.technology-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.fancy-column {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(15, 42, 63, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  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: linear-gradient(90deg, #00BFA6, #00826D);
}

.fancy-column:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 42, 63, 0.12);
}

.fancy-column h2 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #0F2A3F;
  font-weight: 700;
}

.fancy-column p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 18px;
}

.fancy-column p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
  border: 1px solid rgba(0, 191, 166, 0.22);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #334155;
}

.about-highlights li i {
  color: #00826D;
  font-size: 1.05rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-highlights li strong {
  color: #0F2A3F;
}

@media (max-width: 768px) {
  .fancy-column {
    padding: 28px 24px;
  }
}

/* Achievements Section */
.achievements-section {
  padding: 80px 20px;
  background-color: #f8fafc;
}

.achievements-section h2 {
  text-align: center;
  font-size: var(--fs-h2, 2.5em);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 50px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.achievement-item {
  background-color: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 6px 20px rgba(15, 42, 63, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.achievement-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 42, 63, 0.1);
}

.achievement-year {
  display: inline-block;
  font-weight: 700;
  color: #00705E;
  background-color: rgba(0, 191, 166, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.achievement-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

.achievement-item ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.55;
}

.achievement-item ul li:last-child {
  margin-bottom: 0;
}

.achievement-item ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00BFA6;
}

.achievement-item p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.achievement-logo {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  width: 100%;
}

.achievement-logo img {
  max-width: 160px;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .achievements-section {
    padding: 60px 15px;
  }

  .achievement-item {
    padding: 22px 20px;
  }
}

/* Gallery Carousel Section on About Page */
.gallery-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  text-align: center;
  overflow: hidden;
}

.gallery-header {
  max-width: 700px;
  margin: 0 auto 40px;
}

.gallery-header h2 {
  font-size: var(--fs-h2, 2.5em);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.gallery-header p {
  font-size: 1.05rem;
  color: #64748b;
}

.gallery-section .swiper-container {
  width: 100%;
  max-width: 1240px;
  padding: 28px 0 64px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.gallery-section .swiper-slide {
  width: 480px !important;
  height: 340px !important;
  background-color: #0f172a;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15, 42, 63, 0.16);
  overflow: hidden;
  position: relative;
  opacity: 0.6;
  transition: box-shadow 0.3s ease, opacity 0.3s ease;
}

.gallery-section .swiper-slide-active {
  opacity: 1;
  box-shadow: 0 22px 48px rgba(0, 191, 166, 0.28);
  border: 2px solid rgba(0, 191, 166, 0.5);
}

.gallery-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-section .swiper-button-next,
.gallery-section .swiper-button-prev {
  color: #00826D;
  background: rgba(255, 255, 255, 0.94);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(15, 42, 63, 0.18);
  z-index: 10;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.gallery-section .swiper-button-next::after,
.gallery-section .swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.gallery-section .swiper-button-next:hover,
.gallery-section .swiper-button-prev:hover {
  background: #00826D;
  color: #ffffff;
  transform: scale(1.06);
}

.gallery-section .swiper-pagination {
  bottom: 14px !important;
  z-index: 10;
}

.gallery-section .swiper-pagination-bullet {
  background-color: #00BFA6;
  opacity: 0.45;
}

.gallery-section .swiper-pagination-bullet-active {
  background-color: #00826D;
  opacity: 1;
}

.gallery-cta-wrap {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .gallery-section .swiper-slide {
    width: 340px !important;
    height: 250px !important;
  }

  .gallery-section .swiper-button-next,
  .gallery-section .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-section .swiper-slide {
    width: 280px !important;
    height: 210px !important;
  }
}



/* 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 img[src*="Shivika"] {
  object-position: center 12%;
  transform: scale(1.42);
}

.team-card:hover img {
  transform: scale(1.1);
}

.team-card:hover img[src*="Shivika"] {
  transform: scale(1.5);
}

/* 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;
  }
}

