﻿/* ==========================================================================
   INNER PAGES SHARED STYLES — Alkosar Online Quran Academy
   About Us, Contact Us, Free Trial
   ========================================================================== */

/* Page Hero Banner */
.inner-page-hero {
  background: linear-gradient(160deg, #023d24 0%, #012416 100%);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.inner-hero-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
  font-size: 0.8125rem; flex-wrap: wrap;
}
.inner-hero-breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.inner-hero-breadcrumb a:hover { color: #ffb600; }
.inner-hero-breadcrumb .sep { color: rgba(255,255,255,0.3); }
.inner-hero-breadcrumb .current { color: #ffb600; font-weight: 600; }
.inner-hero-badge {
  display: inline-block; padding: 0.3rem 0.9rem;
  background: rgba(255,182,0,0.15); border: 1px solid rgba(255,182,0,0.4);
  border-radius: 9999px; font-size: 0.75rem; font-weight: 700;
  color: #ffb600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem;
}
.inner-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; color: #ffffff;
  line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 1rem;
}
.inner-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: rgba(255,255,255,0.78);
  line-height: 1.65; max-width: 680px; margin: 0;
}

/* Section Headers */
.inner-section-tag {
  display: inline-block; padding: 0.25rem 0.85rem; background: #023d24;
  color: #ffffff; border-radius: 9999px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem;
}
.inner-section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem); font-weight: 800; color: #141414;
  line-height: 1.25; margin-bottom: 0.75rem;
}
.inner-section-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1rem); color: #4b5563; line-height: 1.65; margin: 0;
}
.inner-section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.inner-section { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.inner-section-alt { background: #F8F6F0; border-top: 1px solid #e5e1d8; border-bottom: 1px solid #e5e1d8; }
.inner-section-dark { background: linear-gradient(160deg, #023d24 0%, #012416 100%); }
.inner-section-dark .inner-section-title { color: #fff; }
.inner-section-dark .inner-section-subtitle { color: rgba(255,255,255,0.72); }
.inner-section-dark .inner-section-tag { background: rgba(255,182,0,0.18); color: #ffb600; border: 1px solid rgba(255,182,0,0.35); }

/* About: History Grid */
.about-intro-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .about-intro-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; } }
.about-section-tag { display: inline-block; padding: 0.25rem 0.85rem; background: #023d24; color: #fff; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.85rem; }
.about-section-title { font-size: clamp(1.65rem, 3.2vw, 2.35rem); font-weight: 800; color: #141414; line-height: 1.25; margin-bottom: 1rem; }
.about-lead { font-size: 1.05rem; color: #023d24; font-weight: 600; line-height: 1.6; margin-bottom: 1rem; }
.about-body { font-size: 0.925rem; color: #4b5563; line-height: 1.7; margin-bottom: 1rem; }
.about-body strong { color: #141414; }
.about-founded-badge { display: flex; align-items: center; gap: 1.25rem; background: #F4F1EA; border: 1px solid #ddd7cc; border-left: 5px solid #023d24; border-radius: 12px; padding: 1.1rem 1.35rem; margin-top: 1.5rem; }
.founded-year { font-size: 2.5rem; font-weight: 900; color: #023d24; line-height: 1; flex-shrink: 0; }
.founded-text strong { display: block; font-size: 0.925rem; font-weight: 800; color: #141414; }
.founded-text span { font-size: 0.8125rem; color: #64748b; }

/* About: Highlight cards */
.about-highlights-stack { display: flex; flex-direction: column; gap: 1rem; }
.about-highlight-card { display: flex; align-items: flex-start; gap: 1rem; background: #fff; border: 1px solid #e3ded5; border-radius: 14px; padding: 1.15rem 1.25rem; transition: border-color 0.2s, box-shadow 0.2s; }
.about-highlight-card:hover { border-color: #023d24; box-shadow: 0 4px 14px rgba(2,61,36,0.06); }
.about-highlight-icon { width: 40px; height: 40px; border-radius: 10px; background: #e2f0e8; color: #023d24; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-highlight-icon svg, .about-highlight-icon i { width: 18px; height: 18px; }
.about-highlight-title { font-size: 0.975rem; font-weight: 800; color: #141414; margin-bottom: 0.2rem; }
.about-highlight-desc { font-size: 0.825rem; color: #64748b; line-height: 1.5; margin: 0; }

/* Mission & Vision */
.mission-vision-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .mission-vision-grid { grid-template-columns: repeat(2, 1fr); } }
.mission-card { border-radius: 16px; padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.mission-card-green { background: #023d24; color: #fff; }
.mission-card-gold { background: #fff8e6; border: 2px solid #ffb600; color: #141414; }
.mission-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.mission-card-green .mission-icon { background: rgba(255,182,0,0.18); color: #ffb600; }
.mission-card-gold .mission-icon { background: rgba(2,61,36,0.1); color: #023d24; }
.mission-icon svg, .mission-icon i { width: 22px; height: 22px; }
.mission-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.75rem; }
.mission-card-green .mission-title { color: #fff; }
.mission-text { font-size: 0.925rem; line-height: 1.7; margin: 0; }
.mission-card-green .mission-text { color: rgba(255,255,255,0.82); }

/* Standards grid */
.standards-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .standards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .standards-grid { grid-template-columns: repeat(3, 1fr); } }
.standard-card { background: #fff; border: 1px solid #e3ded5; border-radius: 14px; padding: 1.5rem 1.35rem; transition: border-color 0.2s, box-shadow 0.2s; }
.standard-card:hover { border-color: #023d24; box-shadow: 0 6px 18px rgba(2,61,36,0.06); }
.standard-icon { width: 42px; height: 42px; border-radius: 10px; background: #e2f0e8; color: #023d24; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.standard-icon svg, .standard-icon i { width: 20px; height: 20px; }
.standard-title { font-size: 1.05rem; font-weight: 800; color: #141414; margin-bottom: 0.5rem; }
.standard-desc { font-size: 0.875rem; color: #4b5563; line-height: 1.65; margin: 0; }

/* Subjects grid (dark) */
.subjects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; margin-top: 2rem; }
@media (min-width: 640px) { .subjects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .subjects-grid { grid-template-columns: repeat(4, 1fr); } }
.subject-item { display: flex; align-items: center; gap: 0.65rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 0.85rem 1rem; font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.88); transition: background 0.2s; }
.subject-item:hover { background: rgba(255,182,0,0.12); border-color: rgba(255,182,0,0.4); }
.subject-item svg, .subject-item i { width: 16px; height: 16px; color: #ffb600; flex-shrink: 0; }

/* Timeline */
.about-timeline { position: relative; padding-left: 2.5rem; border-left: 2px solid #e3ded5; display: flex; flex-direction: column; gap: 2.5rem; }
.timeline-item { position: relative; }
.timeline-dot { position: absolute; left: -3.15rem; top: 0.35rem; width: 14px; height: 14px; border-radius: 50%; background: #023d24; border: 3px solid #e2f0e8; box-shadow: 0 0 0 3px #023d24; }
.timeline-year-label { display: inline-block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #023d24; background: #eef5f1; border: 1px solid #c8ded2; padding: 0.2rem 0.65rem; border-radius: 6px; margin-bottom: 0.6rem; }
.timeline-title { font-size: 1.1rem; font-weight: 800; color: #141414; margin-bottom: 0.4rem; }
.timeline-desc { font-size: 0.9rem; color: #4b5563; line-height: 1.65; margin: 0; }

/* About CTA */
.about-cta-section { background: linear-gradient(160deg, #023d24 0%, #012416 100%); padding: clamp(3rem, 5vw, 4.5rem) 0; text-align: center; }
.about-cta-inner { max-width: 680px; margin: 0 auto; }
.about-cta-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; line-height: 1.22; margin-bottom: 1rem; }
.about-cta-desc { font-size: 1rem; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 2rem; }
.about-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.btn-outline-white { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.75rem; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); border-radius: 8px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: border-color 0.2s, background 0.2s; cursor: pointer; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Contact Grid */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-info-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #141414; margin-bottom: 0.75rem; line-height: 1.25; }
.contact-info-lead { font-size: 0.95rem; color: #4b5563; line-height: 1.7; margin-bottom: 2rem; }
.contact-channels { display: flex; flex-direction: column; gap: 1rem; }
.contact-channel-card { display: flex; align-items: flex-start; gap: 1rem; background: #fff; border: 1px solid #e3ded5; border-radius: 14px; padding: 1.25rem 1.35rem; transition: border-color 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.contact-channel-card:hover { border-color: #023d24; box-shadow: 0 4px 14px rgba(2,61,36,0.06); }
.contact-channel-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-channel-icon.green { background: #e2f0e8; color: #023d24; }
.contact-channel-icon.gold { background: #fff8e6; color: #c98b00; }
.contact-channel-icon svg, .contact-channel-icon i { width: 20px; height: 20px; }
.contact-channel-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 0.2rem; }
.contact-channel-value { font-size: 1.05rem; font-weight: 700; color: #023d24; line-height: 1.3; }
.contact-channel-sub { font-size: 0.8rem; color: #64748b; margin-top: 0.2rem; }

/* Contact Form Card */
.contact-form-card { background: #fff; border: 1px solid #dfdad0; border-radius: 20px; padding: 2rem; box-shadow: 0 12px 36px rgba(0,0,0,0.07); }
.contact-form-title { font-size: 1.35rem; font-weight: 800; color: #141414; margin-bottom: 0.4rem; }
.contact-form-sub { font-size: 0.875rem; color: #64748b; margin-bottom: 1.75rem; line-height: 1.5; }
.form-field { margin-bottom: 1.15rem; }
.form-field label { display: block; font-size: 0.825rem; font-weight: 700; color: #374151; margin-bottom: 0.35rem; }
.form-field .req { color: #ef4444; margin-left: 2px; }
.field-input, .field-select, .field-textarea { width: 100%; padding: 0.7rem 1rem; font-size: 0.9rem; border: 1px solid #d1d5db; border-radius: 9px; background: #fff; color: #141414; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; }
.field-input:focus, .field-select:focus, .field-textarea:focus { outline: none; border-color: #023d24; box-shadow: 0 0 0 3px rgba(2,61,36,0.1); }
.field-textarea { resize: vertical; min-height: 110px; }
.form-privacy { font-size: 0.775rem; color: #9ca3af; text-align: center; margin: 0.85rem 0 0; }

/* Trial Grid */
.trial-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .trial-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.trial-benefits-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #141414; margin-bottom: 0.75rem; line-height: 1.25; }
.trial-benefits-lead { font-size: 0.95rem; color: #4b5563; line-height: 1.7; margin-bottom: 2rem; }
.trial-benefit-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.trial-benefit-item { display: flex; align-items: flex-start; gap: 1.1rem; }
.trial-benefit-num { width: 40px; height: 40px; border-radius: 50%; background: #023d24; color: #ffb600; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trial-benefit-title { font-size: 1rem; font-weight: 800; color: #141414; margin-bottom: 0.2rem; }
.trial-benefit-desc { font-size: 0.875rem; color: #4b5563; line-height: 1.6; margin: 0; }
.trial-assurance-box { background: #FAF4E6; border: 1px solid #f0d980; border-left: 5px solid #ffb600; border-radius: 12px; padding: 1.25rem 1.35rem; }
.trial-assurance-box p { font-size: 0.875rem; color: #5a4300; line-height: 1.65; margin: 0; }
.trial-assurance-box strong { color: #3d2e00; }

/* Trial form card */
.trial-form-card { background: #fff; border: 1px solid #dfdad0; border-radius: 20px; padding: 2.25rem 2rem; box-shadow: 0 16px 40px rgba(0,0,0,0.08); position: sticky; top: 100px; }
.trial-form-badge { display: inline-block; background: #022e1b; color: #ffb600; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.25rem 0.75rem; border-radius: 9999px; margin-bottom: 0.85rem; }
.trial-form-title { font-size: 1.35rem; font-weight: 800; color: #141414; margin-bottom: 0.4rem; }
.trial-form-sub { font-size: 0.875rem; color: #64748b; margin-bottom: 1.75rem; line-height: 1.5; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.15rem; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }
.field-hint { font-size: 0.75rem; color: #9ca3af; margin-top: 0.25rem; display: block; }