/* Card / Template helpers for cardview presentation */
:root{
  --card-bg: #ffffff;
  --card-contrast: rgba(16,24,40,0.05);
  --card-radius: 12px;
  --card-gap: 1rem;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

/* Generic cards grid used by templates */
.template-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--card-gap);padding:0;margin:0;list-style:none}
.template-card{background:var(--card-bg);border-radius:var(--card-radius);padding:1rem;box-shadow:0 6px 18px rgba(16,24,40,0.06);transition:transform .28s ease,box-shadow .28s ease;display:flex;flex-direction:column;gap:.5rem}
.template-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(16,24,40,0.12)}

/* About us specific helpers (backward-compatible selectors) */
.about-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;padding:0;margin:0}
.about-feature-box{background:var(--card-bg);border-radius:10px;padding:1rem;box-shadow:0 6px 18px rgba(16,24,40,0.06);transition:transform .24s ease}
.about-feature-box:hover{transform:translateY(-6px)}

/* Service features list -> card-like list items */
.service-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:0;margin:0;list-style:none}
.service-features li{background:var(--card-bg);padding:1rem;border-radius:10px;box-shadow:0 5px 16px rgba(16,24,40,0.06);display:flex;align-items:flex-start;gap:.75rem}
.service-features li i{font-size:1.3rem;color:var(--card-contrast);margin-top:2px}

/* service-detail tweaks */
.service-detail-section .service-image img{max-height:420px;object-fit:cover;width:100%;border-radius:10px}
.service-detail-wrapper{align-items:stretch}

/* Professional service hero card */
.service-hero-card{background:#fff;border:1px solid rgba(16,24,40,0.08);transition:box-shadow .3s ease}
.service-hero-card:hover{box-shadow:0 20px 40px rgba(16,24,40,0.12)!important}
.service-hero-card.layout-image-right .row{flex-direction:row-reverse}

/* Service features grid (uses template-card for individual items) */
.service-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-top:2rem}
.service-features-grid .template-card{background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:1px solid rgba(16,24,40,0.06);padding:1.5rem;display:flex;align-items:flex-start;gap:1rem}
.service-features-grid .template-card i{font-size:1.5rem;color:#667eea;flex-shrink:0;margin-top:0.25rem}
.service-features-grid .template-card strong{display:block;font-size:1.1rem;margin-bottom:0.25rem;color:#1a202c}
.service-features-grid .template-card span{color:#4a5568;font-size:0.95rem;line-height:1.5}

/* Small screens tweaks */
@media (max-width:767.98px){
  .template-card{padding:.85rem}
  .service-detail-section .service-image img{max-height:320px}
  .service-hero-card .service-hero-image img{min-height:280px!important}
  .service-hero-content{padding:2rem 1.5rem!important}
  .service-features-grid{grid-template-columns:1fr;gap:1rem}
}

/* ============================================ */
/* PREMIUM DESIGNER-QUALITY SERVICE TEMPLATE    */
/* ============================================ */

.service-detail-premium{
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  min-height: 100vh;
  padding: 4rem 0;
}

/* Premium Hero Section */
.service-premium-hero{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
}

.service-premium-hero.layout-image-right{
  grid-template-columns: 1fr 1fr;
}
.service-premium-hero.layout-image-right .hero-image-wrapper{
  order: 2;
}
.service-premium-hero.layout-image-right .hero-content-wrapper{
  order: 1;
}

.hero-image-wrapper{
  position: relative;
}

.hero-image-container{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-2deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-premium-hero:hover .hero-image-container{
  transform: perspective(1000px) rotateY(0deg) translateY(-8px);
  box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
}

.hero-main-image{
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-premium-hero:hover .hero-main-image{
  transform: scale(1.05);
}

.hero-image-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-premium-hero:hover .hero-image-overlay{
  opacity: 1;
}

/* Hero Content */
.hero-content-wrapper{
  padding: 2rem;
}

.hero-content-inner{
  max-width: 560px;
}

.service-badge-wrapper{
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

@keyframes fadeInUp{
  from{
    opacity: 0;
    transform: translateY(20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.service-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--gradient-premium);
  color: #ffffff;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.service-badge:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.badge-icon{
  animation: rotate 3s linear infinite;
}

@keyframes rotate{
  from{transform: rotate(0deg);}
  to{transform: rotate(360deg);}
}

.service-premium-title{
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-premium-subtitle{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.subtitle-icon{
  color: #667eea;
  flex-shrink: 0;
}

.service-premium-description{
  font-size: 1.125rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.service-premium-description p{
  margin-bottom: 1rem;
}

/* Premium CTAs */
.hero-cta-section{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.btn-premium-primary{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gradient-premium);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-premium-primary::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-premium-primary:hover::before{
  opacity: 1;
}

.btn-premium-primary:hover{
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.5);
  color: #ffffff;
}

.btn-premium-primary .btn-arrow{
  transition: transform 0.3s ease;
}

.btn-premium-primary:hover .btn-arrow{
  transform: translateX(4px);
}

.btn-premium-secondary{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #ffffff;
  color: #667eea;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid #e0e7ff;
  transition: all 0.3s ease;
}

.btn-premium-secondary:hover{
  background: #f8faff;
  border-color: #667eea;
  transform: translateY(-2px);
  color: #667eea;
}

.btn-premium-secondary .btn-icon{
  transition: transform 0.3s ease;
}

.btn-premium-secondary:hover .btn-icon{
  transform: translateY(2px);
}

/* Premium Features Section */
.service-features-premium{
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid #e2e8f0;
}

.features-header{
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease forwards;
}

.features-header-content{
  max-width: 640px;
  margin: 0 auto;
}

.features-subtitle{
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.features-title{
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.features-description{
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.6;
}

/* Premium Feature Cards Grid */
.features-grid-premium{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card-premium{
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.feature-card-premium::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-premium);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card-premium:hover::before{
  transform: scaleX(1);
}

.feature-card-premium:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
  border-color: #c7d2fe;
}

.feature-card-premium:nth-child(1){animation-delay: 0.1s;}
.feature-card-premium:nth-child(2){animation-delay: 0.2s;}
.feature-card-premium:nth-child(3){animation-delay: 0.3s;}
.feature-card-premium:nth-child(4){animation-delay: 0.4s;}
.feature-card-premium:nth-child(5){animation-delay: 0.5s;}
.feature-card-premium:nth-child(6){animation-delay: 0.6s;}

.feature-icon-wrapper{
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.feature-card-premium:hover .feature-icon-wrapper{
  background: var(--gradient-premium);
  transform: scale(1.1) rotate(5deg);
}

.feature-icon-wrapper i{
  font-size: 1.75rem;
  color: #667eea;
  transition: all 0.4s ease;
}

.feature-card-premium:hover .feature-icon-wrapper i{
  color: #ffffff;
  transform: scale(1.1);
}

.feature-card-title{
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.feature-card-text{
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px){
  .service-premium-hero{
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-premium-hero.layout-image-right .hero-image-wrapper,
  .service-premium-hero.layout-image-right .hero-content-wrapper{
    order: initial;
  }
  .hero-image-container{
    transform: none;
  }
  .hero-main-image{
    height: 400px;
  }
  .service-premium-title{
    font-size: 2.5rem;
  }
}

@media (max-width: 640px){
  .service-detail-premium{
    padding: 2rem 0;
  }
  .service-premium-hero{
    margin-bottom: 3rem;
  }
  .hero-main-image{
    height: 300px;
  }
  .hero-content-wrapper{
    padding: 1rem;
  }
  .service-premium-title{
    font-size: 2rem;
  }
  .service-premium-subtitle{
    font-size: 1rem;
  }
  .service-premium-description{
    font-size: 1rem;
  }
  .hero-cta-section{
    flex-direction: column;
    align-items: stretch;
  }
  .btn-premium-primary,
  .btn-premium-secondary{
    justify-content: center;
    width: 100%;
  }
  .features-title{
    font-size: 1.875rem;
  }
  .features-grid-premium{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   ABOUT US PREMIUM DESIGN
   ============================================ */

/* About Us Premium Section */
.about-us-premium {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Hero Section */
.about-hero-section {
  padding: 4rem 0;
  position: relative;
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb, 102, 126, 234), 0.02) 0%, rgba(var(--theme-primary-rgb, 102, 126, 234), 0.05) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

/* Section Label Badge */
.section-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.25);
  animation: slideInLeft 0.6s ease-out;
}

.badge-icon {
  animation: rotate 3s linear infinite;
}

/* Hero Title */
.about-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a202c;
  margin: 1.5rem 0 1rem;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

/* Hero Description */
.about-hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 2rem;
  max-width: 90%;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.about-hero-description p {
  margin-bottom: 1rem;
}

.about-hero-description p:last-child {
  margin-bottom: 0;
}

/* Feature Highlights Grid */
.feature-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.feature-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(var(--theme-primary-rgb, 102, 126, 234), 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  transition: height 0.3s ease;
}

.feature-highlight-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.15);
  border-color: rgba(var(--theme-primary-rgb, 102, 126, 234), 0.2);
}

.feature-highlight-card:hover::before {
  height: 100%;
}

.feature-highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.3);
  transition: transform 0.3s ease;
}

.feature-highlight-card:hover .feature-highlight-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-highlight-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.feature-highlight-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #718096;
  margin: 0;
}

/* CTA Wrapper */
.about-cta-wrapper {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-about-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-about-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-about-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.45);
  color: #ffffff;
  text-decoration: none;
}

.btn-about-premium:hover::before {
  left: 100%;
}

.btn-about-premium svg {
  transition: transform 0.3s ease;
}

.btn-about-premium:hover svg {
  transform: translateX(4px);
}

/* Hero Image Wrapper */
.about-hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

/* Decorative Circles */
.image-decoration-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.image-decoration-circles .circle-1,
.image-decoration-circles .circle-2,
.image-decoration-circles .circle-3 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.image-decoration-circles .circle-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  top: -20px;
  right: -20px;
  animation: float 6s ease-in-out infinite;
  opacity: 0.15;
}

.image-decoration-circles .circle-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--theme-primary, #764ba2) 0%, var(--theme-primary, #f093fb) 100%);
  bottom: 40px;
  left: -30px;
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
  opacity: 0.2;
}

.image-decoration-circles .circle-3 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #f093fb) 100%);
  top: 50%;
  right: 10%;
  animation: float 7s ease-in-out infinite;
  animation-delay: 2s;
  opacity: 0.12;
}

/* Main Image */
.about-main-image {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.about-main-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-main-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-main-image:hover img {
  transform: scale(1.05);
}

/* Floating Badge */
.floating-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  animation: floatBadge 3s ease-in-out infinite;
}

.floating-badge img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Additional Content Section */
.about-additional-section {
  padding: 4rem 0;
  background: #ffffff;
}

.about-content-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease-out;
}

.about-content-card h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.about-content-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  border-radius: 2px;
}

.about-content-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.about-content-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-content-card ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #4a5568;
}

.about-content-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--theme-primary, #667eea);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .about-hero-title {
    font-size: 2.25rem;
  }
  
  .about-hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .about-hero-image-wrapper {
    margin-top: 2rem;
  }
  
  .about-main-image {
    transform: none;
  }
  
  .about-content-card {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .about-hero-section {
    padding: 3rem 0;
  }
  
  .about-hero-title {
    font-size: 1.875rem;
  }
  
  .feature-highlight-card {
    padding: 1.25rem;
  }
  
  .feature-highlight-icon {
    width: 40px;
    height: 40px;
  }
  
  .feature-highlight-content h4 {
    font-size: 1.125rem;
  }
  
  .btn-about-premium {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .about-content-card {
    padding: 1.5rem;
  }
  
  .about-content-card h3 {
    font-size: 1.5rem;
  }
  
  .floating-badge img {
    width: 70px;
  }
  
  .image-decoration-circles .circle-1 {
    width: 80px;
    height: 80px;
  }
  
  .image-decoration-circles .circle-2 {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 575.98px) {
  .about-hero-title {
    font-size: 1.625rem;
  }
  
  .about-hero-description {
    font-size: 0.9375rem;
  }
  
  .section-label-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .feature-highlight-card {
    padding: 1rem;
  }
  
  .about-additional-section {
    padding: 3rem 0;
  }
}

/* ============================================
   OUR PRESIDENT PREMIUM DESIGN
   ============================================ */

/* President Premium Section */
.president-premium {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Hero Header */
.president-hero-header {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb, 102, 126, 234), 0.03) 0%, rgba(var(--theme-primary-rgb, 102, 126, 234), 0.08) 100%);
  position: relative;
  text-align: center;
}

.hero-header-content {
  animation: fadeInDown 0.8s ease-out;
}

.header-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.25);
  margin-bottom: 1.5rem;
  animation: slideDown 0.6s ease-out;
}

.hero-header-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a202c;
  margin: 1rem 0;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.header-title-underline {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  margin: 1rem auto 0;
  border-radius: 3px;
  animation: expandWidth 0.8s ease-out 0.4s backwards;
}

/* Profile Section */
.president-profile-section {
  padding: 4rem 0;
  position: relative;
}

.president-profile-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.president-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Photo Wrapper */
.president-photo-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  min-height: 100%;
}

/* Decoration Rings */
.photo-decoration-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.photo-decoration-ring.ring-1 {
  width: 280px;
  height: 280px;
  animation: pulseRing 4s ease-in-out infinite;
}

.photo-decoration-ring.ring-2 {
  width: 320px;
  height: 320px;
  animation: pulseRing 4s ease-in-out infinite;
  animation-delay: 0.5s;
}

.photo-decoration-ring.ring-3 {
  width: 360px;
  height: 360px;
  animation: pulseRing 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* President Photo */
.president-photo {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.president-photo:hover {
  transform: scale(1.05);
}

.president-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Photo Badge */
.photo-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 3;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  animation: rotateBadge 8s linear infinite;
}

.photo-badge svg {
  color: #1a202c;
}

/* Details Wrapper */
.president-details-wrapper {
  padding: 3rem;
}

/* President Header */
.president-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(var(--theme-primary-rgb, 102, 126, 234), 0.1);
}

.president-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.president-designation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--theme-primary, #667eea);
  margin: 0;
}

.president-designation svg {
  flex-shrink: 0;
}

/* Section Subtitle */
.section-subtitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  border-radius: 2px;
}

.section-subtitle svg {
  color: var(--theme-primary, #667eea);
  flex-shrink: 0;
}

/* Biography */
.president-biography {
  margin-bottom: 2.5rem;
}

.biography-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4a5568;
}

.biography-content p {
  margin-bottom: 1.25rem;
}

.biography-content p:last-child {
  margin-bottom: 0;
}

.biography-content strong {
  color: #1a202c;
  font-weight: 700;
}

.biography-content em {
  display: block;
  font-style: italic;
  color: #718096;
  padding: 1.25rem;
  background: rgba(var(--theme-primary-rgb, 102, 126, 234), 0.05);
  border-left: 4px solid var(--theme-primary, #667eea);
  border-radius: 4px;
  margin-top: 1.25rem;
}

.biography-content ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.biography-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #4a5568;
}

.biography-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--theme-primary, #667eea);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Contact Section */
.president-contact {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(var(--theme-primary-rgb, 102, 126, 234), 0.1);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb, 102, 126, 234), 0.03) 0%, rgba(var(--theme-primary-rgb, 102, 126, 234), 0.08) 100%);
  border-radius: 16px;
  border: 1px solid rgba(var(--theme-primary-rgb, 102, 126, 234), 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  transition: height 0.3s ease;
}

.contact-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.15);
  border-color: rgba(var(--theme-primary-rgb, 102, 126, 234), 0.2);
}

.contact-card:hover::before {
  height: 100%;
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--theme-primary, #667eea) 0%, var(--theme-primary, #764ba2) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 102, 126, 234), 0.3);
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1a202c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: var(--theme-primary, #667eea);
  text-decoration: none;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes pulseRing {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

@keyframes rotateBadge {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero-header-title {
    font-size: 2.75rem;
  }
  
  .president-details-wrapper {
    padding: 2.5rem;
  }
  
  .president-name {
    font-size: 2rem;
  }
  
  .president-photo-wrapper {
    padding: 3rem 1.5rem;
  }
  
  .president-photo {
    width: 220px;
    height: 220px;
  }
  
  .photo-decoration-ring.ring-1 {
    width: 240px;
    height: 240px;
  }
  
  .photo-decoration-ring.ring-2 {
    width: 280px;
    height: 280px;
  }
  
  .photo-decoration-ring.ring-3 {
    width: 320px;
    height: 320px;
  }
  
  .photo-badge {
    width: 50px;
    height: 50px;
    bottom: 2rem;
    right: 1.5rem;
  }
  
  .photo-badge svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 767.98px) {
  .president-hero-header {
    padding: 3rem 0 2rem;
  }
  
  .hero-header-title {
    font-size: 2.25rem;
  }
  
  .president-profile-section {
    padding: 3rem 0;
  }
  
  .president-details-wrapper {
    padding: 2rem;
  }
  
  .president-name {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
  }
  
  .biography-content {
    font-size: 1rem;
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-card {
    padding: 1.25rem;
  }
  
  .president-photo-wrapper {
    padding: 2.5rem 1rem;
  }
  
  .president-photo {
    width: 200px;
    height: 200px;
  }
  
  .photo-decoration-ring.ring-1 {
    width: 220px;
    height: 220px;
  }
  
  .photo-decoration-ring.ring-2 {
    width: 260px;
    height: 260px;
  }
  
  .photo-decoration-ring.ring-3 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .hero-header-title {
    font-size: 1.875rem;
  }
  
  .header-label-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .president-details-wrapper {
    padding: 1.5rem;
  }
  
  .president-name {
    font-size: 1.5rem;
  }
  
  .president-designation {
    font-size: 1rem;
  }
  
  .president-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .biography-content {
    font-size: 0.9375rem;
  }
  
  .contact-icon {
    width: 44px;
    height: 44px;
  }
  
  .contact-value {
    font-size: 1rem;
  }
}
