/* ========================================
   MGIP About Page Styles
   ======================================== */

/* About Hero Section */
.about-hero {
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-hero-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: auto;
}

.about-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
}

/* Desktop - Full banner */
@media (min-width: 1440px) {
  .about-hero-wrapper {
    height: auto;
  }
  
  .about-hero-image {
    height: auto;
    object-fit: cover;
  }
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1439px) {
  .about-hero-wrapper {
    height: auto;
  }
  
  .about-hero-image {
    height: auto;
    object-fit: cover;
  }
}

/* Laptop */
@media (min-width: 992px) and (max-width: 1199px) {
  .about-hero-wrapper {
    height: auto;
  }
  
  .about-hero-image {
    height: auto;
    object-fit: cover;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .about-hero-wrapper {
    height: auto;
  }
  
  .about-hero-image {
    height: auto;
    object-fit: cover;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-hero-wrapper {
    height: auto;
    min-height: 200px;
  }
  
  .about-hero-image {
    height: auto;
    min-height: 200px;
    object-fit: cover;
  }
}

/* Extra small mobile */
@media (max-width: 575px) {
  .about-hero-wrapper {
    height: auto;
    min-height: 150px;
  }
  
  .about-hero-image {
    height: auto;
    min-height: 150px;
    object-fit: cover;
  }
}

/* Intro Section */
.about-intro {
  background: white;
}

.intro-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.intro-content .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--mgip-dark);
}

.intro-content p {
  text-align: justify;
}

/* What is MGIP Cards */
.what-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.what-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2) !important;
  border-color: var(--mgip-gold-light);
}

.what-icon i {
  color: var(--mgip-gold-dark);
  transition: transform 0.3s ease;
}

.what-card:hover .what-icon i {
  transform: scale(1.1);
  color: var(--mgip-gold);
}

/* Benefit Cards */
.benefit-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25) !important;
  border-color: var(--mgip-gold-light);
}

.benefit-icon i {
  color: var(--mgip-gold-dark);
}

/* Framework Cards */
.framework-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.framework-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2) !important;
  border-color: var(--mgip-gold-light);
}

.framework-icon i {
  color: var(--mgip-gold-dark);
}

/* Role Cards */
.role-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.role-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25) !important;
  border-color: var(--mgip-gold-light);
}

.role-icon i {
  color: var(--mgip-emerald);
}

.role-card:hover .role-icon i {
  color: var(--mgip-gold-dark);
}

/* Purpose Section */
.purpose-content .lead {
  font-size: 1.2rem;
  line-height: 1.8;
}

.purpose-section p {
  text-align: justify;
}

/* CTA Cards */
.cta-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--mgip-gold-light);
}

.cta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3) !important;
  border-color: var(--mgip-gold);
}

.cta-card i {
  color: var(--mgip-gold-dark);
}

.cta-card:hover i {
  color: var(--mgip-gold);
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, var(--mgip-gold-dark) 0%, var(--mgip-gold) 100%);
  border: none;
  color: white !important;
  font-weight: 700;
}

.cta-section .btn-primary:hover {
  background: var(--mgip-gold-dark);
  color: white !important;
}

.cta-section .btn-outline-primary {
  color: var(--mgip-chocolate-dark) !important;
  border: 2px solid var(--mgip-gold-dark);
  background: transparent;
  font-weight: 700;
}

.cta-section .btn-outline-primary:hover {
  background: var(--mgip-gold-dark);
  border-color: var(--mgip-gold-dark);
  color: white !important;
}

/* Alerts */
.alert-info {
  background: linear-gradient(135deg, var(--mgip-cream) 0%, var(--mgip-gold-light) 100%);
  color: var(--mgip-chocolate);
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  border-left: 4px solid var(--mgip-gold);
}

.alert-info i {
  color: var(--mgip-gold-dark);
}

.alert-primary {
  background: linear-gradient(135deg, var(--mgip-gold-light) 0%, var(--mgip-cream) 100%);
  color: var(--mgip-chocolate);
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  border-left: 4px solid var(--mgip-gold-dark);
}

.alert-primary i {
  color: var(--mgip-gold-dark);
}

/* Section Backgrounds */
.what-section,
.alignment-section,
.purpose-section {
  background: var(--mgip-bg-light);
}

/* Responsive */
@media (max-width: 991px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .intro-content .lead {
    font-size: 1.15rem;
  }
}

@media (max-width: 767px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .intro-content {
    font-size: 1rem;
  }
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Card Enhancements */
.card {
  border-radius: 12px;
  overflow: hidden;
}

.card-title {
  font-weight: 700;
  color: var(--mgip-dark);
}

.card-text {
  line-height: 1.6;
}

/* Button Spacing */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}