/* ============================================
   RRD EXIM - ALL PAGES MODERN STYLES
   Extends theme.css for internal pages
   ============================================ */

/* ==================== PAGE HEADER ==================== */
.page-header {
  padding: 10rem 0 5rem;
  background: var(--gradient-primary, linear-gradient(135deg, #0A1628 0%, #0F2744 50%, #1A365D 100%));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(212, 168, 83, 0.1) 0%, transparent 50%);
  animation: float-particles 15s ease-in-out infinite;
}

@keyframes float-particles {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-10px, 10px) rotate(1deg);
  }

  50% {
    transform: translate(10px, -10px) rotate(-1deg);
  }

  75% {
    transform: translate(-5px, -5px) rotate(0.5deg);
  }
}

.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ==================== ABOUT PAGE ==================== */
.about-overview {
  background: white;
}

.about-image-large {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image-large::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid #8B2635;
  border-radius: 24px;
  opacity: 0;
  transform: translate(15px, 15px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.about-image-large:hover::before {
  opacity: 1;
}

.about-image-large img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  transition: transform 0.4s ease;
}

.about-image-large:hover img {
  transform: scale(1.02);
}

.about-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0F2744;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.about-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #8B2635 0%, #A63446 100%);
  border-radius: 2px;
}

.about-paragraph {
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

/* Mission & Vision Cards */
.mission-vision {
  background: #F1F5F9;
}

.mission-card,
.vision-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #E2E8F0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.mission-card::before,
.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #8B2635 0%, #A63446 100%);
}

.vision-card::before {
  background: linear-gradient(135deg, #C5A572 0%, #D4B896 100%);
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.mission-icon,
.vision-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.mission-title,
.vision-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0F2744;
  margin-bottom: 1rem;
}

.mission-text,
.vision-text {
  color: #64748B;
  line-height: 1.8;
  font-size: 1rem;
}

/* Core Values */
.core-values {
  background: white;
}

.value-card {
  background: #FAFBFC;
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  border: 1px solid #E2E8F0;
  transition: all 0.4s ease;
  position: relative;
}

.value-card:hover {
  background: white;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 38, 53, 0.15);
  border-color: #8B2635;
}

.value-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8B2635 0%, #A63446 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.value-card:hover .value-number {
  opacity: 1;
}

.value-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F2744;
  margin-bottom: 0.75rem;
}

.value-text {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Achievements/Statistics */
.achievements {
  background: linear-gradient(135deg, #0A1628 0%, #0F2744 50%, #1A365D 100%);
  position: relative;
  overflow: hidden;
}

.achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
}

.achievements .section-title {
  color: white;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  transition: all 0.4s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
  border-color: #8B2635;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8B2635 0%, #A63446 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.stat-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Why Partner Section */
.why-partner {
  background: #F1F5F9;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
  height: 100%;
}

.benefit-item:hover {
  box-shadow: 0 10px 30px rgba(139, 38, 53, 0.1);
  border-color: #8B2635;
  transform: translateX(5px);
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8B2635 0%, #A63446 100%);
  color: white;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: bold;
}

.benefit-title {
  font-weight: 700;
  color: #0F2744;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.benefit-text {
  color: #64748B;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* About CTA */
.about-cta {
  background: linear-gradient(135deg, #8B2635 0%, #6B1D29 100%);
  text-align: center;
}

.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== CONTACT PAGE ==================== */
.contact-info {
  background: #F1F5F9;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #E2E8F0;
  transition: all 0.4s ease;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.2);
  border-color: #8B2635;
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.contact-card h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F2744;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Contact Form Section */
.contact-form-section {
  background: white;
}

.contact-form-section .contact-form {
  background: #FAFBFC;
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form-section .form-control {
  background: white;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: #334155;
}

.contact-form-section .form-control:focus {
  border-color: #8B2635;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
  background: white;
}

.contact-form-section .form-control::placeholder {
  color: #94A3B8;
}

/* Map Section */
.contact-map {
  position: relative;
}

.contact-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, white 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.contact-map iframe {
  filter: grayscale(20%) contrast(1.1);
}

/* Contact CTA */
.contact-cta {
  background: #F1F5F9;
}

/* ==================== PRODUCTS & CATEGORIES ==================== */
.categories-section {
  background: #FAFBFC;
}

.category-detail-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #E2E8F0;
}

.category-detail-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.2);
  border-color: #8B2635;
}

.category-image-wrapper {
  height: 220px;
  overflow: hidden;
  background: #F1F5F9;
  position: relative;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.4s ease;
}

.category-detail-card:hover .category-image {
  transform: scale(1.08);
}

.category-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F2744;
  margin-bottom: 0.75rem;
}

.category-description {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==================== FAQ PAGE ==================== */
.faq-section {
  background: white;
}

.accordion-item {
  border: 1px solid #E2E8F0;
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: #8B2635;
}

.accordion-button {
  font-weight: 600;
  color: #0F2744;
  padding: 1.25rem 1.5rem;
  background: white;
  font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(13, 148, 136, 0.02) 100%);
  color: #8B2635;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #8B2635;
}

.accordion-button::after {
  background-size: 1rem;
  transition: transform 0.3s ease;
}

.accordion-body {
  color: #64748B;
  line-height: 1.8;
  padding: 0 1.5rem 1.25rem;
}

/* ==================== GALLERY PAGE ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==================== PRODUCT DETAILS PAGE ==================== */
.product-details-section {
  background: white;
}

.product-main-image {
  border-radius: 20px;
  overflow: hidden;
  background: #F1F5F9;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-info-card {
  background: #FAFBFC;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #E2E8F0;
}

.product-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0F2744;
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.product-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 9999px;
  font-size: 0.9rem;
  color: #8B2635;
  font-weight: 500;
}

.product-description {
  color: #64748B;
  line-height: 1.9;
  font-size: 1.05rem;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 992px) {
  .page-header {
    padding: 8rem 0 4rem;
  }

  .about-heading {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-form-section .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 7rem 0 3rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .mission-card,
  .vision-card {
    padding: 2rem;
  }

  .value-card {
    padding: 1.5rem;
  }

  .value-number {
    font-size: 2rem;
  }

  .stat-card {
    padding: 2rem 1rem;
  }

  .benefit-item {
    padding: 1.25rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .about-heading {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .contact-form-section .contact-form {
    padding: 1.5rem;
  }

  .product-info-card {
    padding: 1.5rem;
  }
}