/* ============================================
   ABOUT PAGE - MODERN DESIGN
   Professional & Clean Layout
============================================ */

:root {
  --primary: #2563eb;
  --secondary: #64748b;
  --dark: #1e293b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HERO SECTION
============================================ */
.about-hero {
  position: relative;
  height: 400px;
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Disable parallax on mobile/tablet for better performance */
@media (max-width: 1024px) {
  .about-hero {
    background-attachment: scroll;
  }
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.85) 0%,
    rgba(30, 41, 59, 0.9) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.about-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.about-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin: 0;
}

/* ============================================
   MAIN SECTION
============================================ */
.about-main-section {
  padding: 80px 0;
  background: #fff;
}

.about-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-main-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-main-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  border-radius: 20px;
  z-index: -1;
}

.about-main-content {
  padding: 0;
}

@media (max-width: 991.98px) {
  .about-main-content {
    padding: 0 20px;
  }
}

@media (max-width: 575.98px) {
  .about-main-content {
    padding: 0 10px;
  }
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.about-list li:hover {
  background: #f1f5f9;
  transform: translateX(5px);
}

.about-list li:last-child {
  margin-bottom: 0;
}

.about-list li i {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-list li div {
  flex: 1;
  min-width: 0;
}

.about-list li strong {
  display: block;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 5px;
  font-weight: 700;
}

.about-list li span {
  font-size: 14px;
  color: var(--secondary);
  display: block;
  line-height: 1.5;
}

/* ============================================
   VALUES SECTION
============================================ */
.about-values-section {
  padding: 80px 0;
  background: #fff;
}

.about-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-section-title-center {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.about-section-subtitle {
  font-size: 16px;
  color: var(--secondary);
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Desktop: force 3 columns */
@media (min-width: 992px) {
  .about-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-value-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--success),
    var(--warning)
  );
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

.about-value-card:hover::before {
  transform: translateY(0);
}

.about-value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.about-value-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.about-value-card:hover .about-value-icon {
  transform: scale(1.1) rotate(5deg);
}

.about-value-blue {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.about-value-green {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.about-value-orange {
  background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.about-value-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.about-value-text {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   PROCESS SECTION
============================================ */
.about-process-section {
  padding: 80px 0;
  background: #fff;
}

.about-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Desktop: force 4 columns */
@media (min-width: 1200px) {
  .about-process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-process-item {
  position: relative;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 50px 25px 35px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.about-process-item:hover {
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--primary);
}

.about-process-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  border: 3px solid #fff;
  z-index: 2;
}

.about-process-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto 20px;
  font-size: 36px;
  color: var(--primary);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.about-process-item:hover .about-process-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  transform: scale(1.1) rotate(10deg);
  border-color: var(--primary);
}

.about-process-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.about-process-text {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   STATS SECTION
============================================ */
.about-stats-section {
  position: relative;
  padding: 80px 0;
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about-stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.9) 0%,
    rgba(30, 41, 59, 0.95) 100%
  );
}

.about-stats-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 60px;
}

.about-stats-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.about-stats-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.about-stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.about-stat-item {
  text-align: center;
  padding: 35px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.about-stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1;
}

.about-stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin: 0;
}

/* ============================================
   GALLERY SECTION
============================================ */
.about-gallery-section {
  padding: 80px 0;
  background: #fff;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* Desktop: force 3 columns */
@media (min-width: 992px) {
  .about-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--border);
  background: var(--light);
}

.about-gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.65);
}

.about-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.92) 0%,
    rgba(30, 41, 59, 0.95) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

.about-gallery-item:hover .about-gallery-overlay {
  opacity: 1;
}

.about-gallery-info {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-gallery-item:hover .about-gallery-info {
  transform: translateY(0);
}

.about-gallery-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.about-gallery-info p {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.about-gallery-info p i {
  font-size: 1.1rem;
}

.about-gallery-overlay > i {
  font-size: 48px;
  color: #fff;
  transition: transform 0.3s ease;
}

.about-gallery-item:hover .about-gallery-overlay > i {
  transform: scale(1.2);
}
}

.about-gallery-overlay i {
  font-size: 48px;
  color: #fff;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 991.98px) {
  .about-hero {
    height: 350px;
  }

  .about-hero-title {
    font-size: 40px;
  }

  .about-hero-subtitle {
    font-size: 17px;
    padding: 0 20px;
  }

  .about-main-section,
  .about-values-section,
  .about-process-section,
  .about-stats-section,
  .about-gallery-section {
    padding: 60px 0;
  }

  .about-main-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-main-image {
    order: -1;
  }

  .about-main-image img {
    max-height: 400px;
  }

  .about-main-image-decoration {
    width: 180px;
    height: 180px;
    top: -15px;
    right: -15px;
  }

  .about-section-title {
    font-size: 32px;
  }

  .about-section-title-center {
    font-size: 32px;
  }

  .about-section-subtitle {
    font-size: 15px;
    padding: 0 20px;
  }

  .about-text {
    font-size: 15px;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .about-value-card {
    padding: 35px 25px;
  }

  .about-value-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }

  .about-value-title {
    font-size: 19px;
  }

  .about-value-text {
    font-size: 14px;
  }

  .about-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .about-process-item {
    padding: 45px 20px 30px;
  }

  .about-process-number {
    width: 45px;
    height: 45px;
    font-size: 18px;
    top: -18px;
  }

  .about-process-icon {
    width: 65px;
    height: 65px;
    font-size: 30px;
    margin: 12px auto 18px;
  }

  .about-process-title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .about-process-text {
    font-size: 13px;
  }

  .about-stats-section {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .about-stats-header {
    margin-bottom: 40px;
  }

  .about-stats-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .about-stats-subtitle {
    font-size: 16px;
    padding: 0 20px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-stat-item {
    padding: 30px 15px;
    border-radius: 16px;
    border-width: 1.5px;
  }

  .about-stat-number {
    font-size: 42px;
    margin-bottom: 8px;
  }

  .about-stat-label {
    font-size: 14px;
    line-height: 1.4;
  }

  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-gallery-item {
    border-radius: 14px;
    border-width: 1.5px;
  }

  .about-gallery-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .about-gallery-info p {
    font-size: 0.9rem;
  }

  .about-gallery-overlay > i {
    font-size: 42px;
  }
}

@media (max-width: 767.98px) {
  .about-hero {
    height: 280px;
  }

  .about-hero-content {
    padding: 0 20px;
  }

  .about-hero-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .about-hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 10px;
  }

  .about-main-section,
  .about-values-section,
  .about-process-section,
  .about-stats-section,
  .about-gallery-section {
    padding: 40px 0;
  }

  .about-main-grid {
    gap: 35px;
  }

  .about-main-image img {
    max-height: 350px;
  }

  .about-main-image-decoration {
    width: 120px;
    height: 120px;
    top: -12px;
    right: -12px;
  }

  .about-badge {
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 15px;
  }

  .about-section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .about-section-title-center {
    font-size: 26px;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .about-list li {
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
  }

  .about-list li i {
    font-size: 20px;
    margin-top: 0;
  }

  .about-list li strong {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .about-list li span {
    font-size: 13px;
    line-height: 1.4;
  }

  .about-section-header {
    margin-bottom: 35px;
  }

  .about-section-subtitle {
    font-size: 14px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-value-card {
    padding: 30px 25px;
    border-width: 1.5px;
  }

  .about-value-icon {
    width: 65px;
    height: 65px;
    font-size: 30px;
    margin-bottom: 20px;
    border-radius: 16px;
  }

  .about-value-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .about-value-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .about-process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-process-item {
    padding: 45px 20px 30px;
    border-width: 1.5px;
  }

  .about-process-number {
    width: 45px;
    height: 45px;
    font-size: 18px;
    top: -18px;
    border-width: 2px;
  }

  .about-process-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
    margin: 10px auto 18px;
  }

  .about-process-title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .about-process-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .about-stats-section {
    padding: 50px 0;
    background-attachment: scroll;
  }

  .about-stats-header {
    margin-bottom: 35px;
  }

  .about-stats-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .about-stats-subtitle {
    font-size: 15px;
    padding: 0 15px;
    line-height: 1.5;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .about-stat-item {
    padding: 25px 15px;
    border-radius: 14px;
    border-width: 1.5px;
  }

  .about-stat-number {
    font-size: 36px;
    margin-bottom: 6px;
  }

  .about-stat-label {
    font-size: 13px;
    line-height: 1.4;
  }

  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .about-gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    border-width: 1.5px;
  }

  .about-gallery-overlay {
    padding: 1rem;
  }

  .about-gallery-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .about-gallery-info p {
    font-size: 0.8rem;
    margin: 0.3rem 0;
  }

  .about-gallery-info p i {
    font-size: 0.9rem;
  }

  .about-gallery-overlay > i {
    font-size: 36px;
  }
}
