
/* ==========================================================================
   New Team Section Custom Styles
   ========================================================================== */

/* Outer Layout Container */
.team-section-container {
    max-width: 1200px;
    padding: 0 20px;
    font-family: 'Poppins', 'Quicksand', sans-serif;
}

/* Header Text Alignments */
.team-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-section-tagline {
    color: #ba3a3a; /* Primary theme blue */
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.team-section-heading {
    color: #231709; /* Dark theme contrast text */
    font-size: 36px;
    margin: 0;
    font-weight: 700;
}

/* Grid Layout Architecture */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

/* Individual Card Blocks */
.team-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 35px 20px 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Smooth Hover Interaction */
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 38px rgba(58, 67, 186, 0.1); /* Subtle color-tinted dynamic shadow */
    border-color: rgba(58, 67, 186, 0.15);
}

/* Circular Clip for Headshots */
.team-card-image-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 22px;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Card Text Styling */
.team-card-info {
    margin-bottom: 20px;
}

.team-card-role {
    display: block;
    font-size: 13px;
    color: #6C626D; /* Secondary Slate */
    font-weight: 500;
    margin-bottom: 6px;
}

.team-card-name {
    font-size: 19px;
    color: #231709;
    margin: 0;
    font-weight: 700;
}

/* Footer Element Placement & Action Buttons */
.team-card-socials {
    margin-top: auto; /* Aligns buttons cleanly at the base even if text heights vary */
    width: 100%;
    display: flex;
    justify-content: center;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f6fa;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.team-social-link svg {
    width: 16px;
    height: 16px;
    fill: #6C626D;
    transition: fill 0.3s ease;
}

/* Interactive Link State */
.team-social-link:hover {
    background-color: #ba3a3a;
    transform: scale(1.05);
}

.team-social-link:hover svg {
    fill: #ffffff;
}

/* ==========================================================================
   Clean School Picture Gallery Engine
   ========================================================================== */

.school-photo-gallery-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

/* Header UI */
.gallery-header-block {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-mini-tag {
    color: #ba3a3a; /* School theme blue */
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.gallery-main-title {
    color: #231709;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* Grid Matrix */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Photo Frames */
.gallery-photo-item {
    position: relative;
    height: 250px; /* Uniform height for clean alignment */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #f7f7f7;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image Fitment */
.gallery-actual-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps image proportions clean without distortion */
    object-position: center;
    transition: transform 0.5s ease;
}

/* Smooth Interactive States */
.gallery-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(58, 67, 186, 0.15);
}

.gallery-photo-item:hover .gallery-actual-img {
    transform: scale(1.06); /* Elegant, minimal scale up */
}

/* Mobile Responsive Tweaks */
@media (max-width: 600px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); /* 1 Column on small mobile */
        gap: 15px;
    }
    
    .gallery-photo-item {
        height: 220px;
    }
}

/* ==========================================================================
   Dayspring Custom Contact Page Engine
   ========================================================================== */

/* Remove constraints from blog layout default rules */
.custom-contact-fullwidth {
    width: 100% !important;
    float: none !important;
}

/* Base Flexible Split Frame Layout */
.contact-page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 30px auto;
    font-family: 'Poppins', 'Quicksand', sans-serif;
}

.contact-info-sidebar {
    flex: 1 1 400px;
}

.contact-form-wrapper {
    flex: 1.5 1 500px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

/* Info Side Typography styling */
.contact-meta-heading {
    margin-bottom: 35px;
}

.contact-sub-tag {
    color: #ba3a3a; /* School Theme Royal Blue */
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.contact-main-title {
    font-size: 34px;
    color: #231709;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.contact-description {
    color: #6C626D;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Sidebar Info Block Cards */
.info-card-deck {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
}

.contact-detail-card:hover {
    transform: translateX(5px);
    border-color: rgba(58, 67, 186, 0.2);
}

.card-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(58, 67, 186, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-box i {
    color: #f4a024;
    font-size: 20px;
}

.card-text-box h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #231709;
    font-weight: 600;
}

.card-text-box p {
    margin: 0;
    font-size: 14px;
    color: #6C626D;
    line-height: 1.5;
}

.card-text-box p span {
    font-size: 12px;
    color: #f4a024;
}

/* Form Styling Interface Rules */
.form-box-title {
    font-size: 22px;
    color: #231709;
    margin: 0 0 30px 0;
    font-weight: 700;
}

.school-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field-group.dual-fields {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dual-fields .input-control {
    flex: 1 1 200px;
}

.input-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-control label {
    font-size: 13px;
    font-weight: 600;
    color: #231709;
}

.input-control input, 
.input-control textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #231709;
    background-color: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.input-control input:focus, 
.input-control textarea:focus {
    border-color: #f4a024;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 67, 186, 0.1);
}

/* Interaction Button Logic */
.contact-submit-action-btn {
    background-color: #f4a024;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-submit-action-btn:hover {
    background-color: #f4a024;
    transform: translateY(-2px);
}

.contact-submit-action-btn:active {
    transform: translateY(0);
}

/* Desktop Sidebar Suppression Framework override */
#secondary {
    display: none !important; /* Discard unnecessary blog side widgets */
}

/* Media Query Adaptations */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 25px;
    }
    .contact-main-title {
        font-size: 28px;
    }
    .contact-submit-action-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media screen and (max-width: 768px) {
  .success-section {
    margin: 40px auto;
    gap: 30px 40px;      /* Slightly tighter spacing array on tablets */
  }
  
  .success-section img {
    width: 100px;        /* Slightly scales logos down for medium viewports */
  }
}

@media screen and (max-width: 480px) {
  .success-section {
    gap: 25px 30px;      /* Optimal compact spacing layout for mobile screens */
  }
  
  .success-section img {
    width: 85px;         /* Prevents overcrowding on small mobile arrays */
  }
}

/* ==========================================================================
   Executive Director Profile Styling Sheet
   ========================================================================== */

.ed-section-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Poppins', 'Quicksand', sans-serif;
}

/* Headings Alignment rules */
.ed-header {
    margin-bottom: 45px;
}

.ed-section-tagline {
    color: #f4a024; /* Secondary orchid text */
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.ed-section-title {
    color: #231709;
    font-size: 36px;
    margin: 0;
    font-weight: 700;
}

/* Flexbox Row/Column Setup */
.ed-profile-split {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

/* Left Column Profile block */
.ed-profile-card {
    flex: 1 1 320px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.ed-image-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 25px auto;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ed-actual-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ed-name {
    font-size: 20px;
    color: #231709;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.ed-post {
    font-size: 14px;
    color: #ba3a3a; /* Theme principal royal blue */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Action button area */
.ed-social-actions {
    margin-top: 25px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.ed-email-link {
    width: 44px;
    height: 44px;
    background: #f5f6fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ed-email-link svg {
    width: 18px;
    height: 18px;
    fill: #6C626D;
    transition: fill 0.3s ease;
}

.ed-email-link:hover {
    background-color: #ba3a3a;
    transform: scale(1.05);
}

.ed-email-link:hover svg {
    fill: #ffffff;
}

/* Right Column: Narrative Paragraphs text formatting */
.ed-message-narrative {
    flex: 2 1 600px;
    text-align: justify;
}

.ed-paragraph {
    color: #6C626D;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 22px 0;
    font-weight: 400;
}

/* Stylized block quote highlights inside text */
.ed-paragraph.highlight-quote {
    font-size: 18px;
    color: #ba3a3a;
    font-weight: 600;
    border-left: 4px solid #f4a024;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    line-height: 1.6;
}

/* Subtle Dropcap style for text start hook */
.ed-paragraph.dropcap::first-letter {
    font-size: 32px;
    font-weight: 700;
    color: #231709;
    float: left;
    margin-right: 6px;
    line-height: 1;
}

/* Responsive adjustment breakpoints */
@media (max-width: 768px) {
    .ed-profile-split {
        gap: 35px;
    }
    .ed-section-title {
        font-size: 28px;
    }
    .ed-paragraph {
        font-size: 15px;
    }
}

/* ==========================================================================
   Dayspring Premium About Us Layout Stylesheet
   ========================================================================== */

.about-page-main-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Poppins', 'Quicksand', sans-serif;
    box-sizing: border-box;
}

/* Two-Column Responsive Grid Architecture */
.about-layout-split {
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
    align-items: center;
}

.about-narrative-block {
    flex: 1.4 1 550px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-metrics-visual-block {
    flex: 1 1 380px;
}

/* Keep numbers and awards perfectly positioned during desktop scrolling */
.sticky-metrics-wrap {
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Styled Text Content Cards */
.about-content-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.about-card-badge {
    display: inline-block;
    background: rgba(58, 67, 186, 0.07);
    color: #ba3a3a; /* Primary theme color blue */
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.about-card-badge.accent-purple {
    background: rgba(181, 101, 167, 0.09);
    color: #f4a024; /* Theme orchid accent */
}

.about-card-title {
    font-size: 28px;
    color: #231709;
    margin: 0 0 25px 0;
    font-weight: 700;
}

/* Typography Layout adjustments */
.narrative-p {
    color: #6C626D;
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0 0 20px 0;
}

.narrative-p:last-child {
    margin-bottom: 0;
}

.narrative-p.leading-highlight {
    font-size: 17px;
    color: #231709;
    font-weight: 500;
    line-height: 1.7;
    text-align: justify;
}

/* Block Accent Callout Boxes */
.highlight-accent-box {
    background: #fdfdfd;
    border-left: 4px solid #ba3a3a;
    padding: 20px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4a404b;
    border-top: 1px solid #f3f3f0;
    border-bottom: 1px solid #f3f3f0;
    border-right: 1px solid #f3f3f0;
}

/* Placement Lists Transformed to Modern Pills Layout */
.destinations-box h4 {
    font-size: 16px;
    color: #231709;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.placement-pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.placement-pill-list li {
    background: #f5f6fa;
    color: #6C626D;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    border: 1px solid #eef0f6;
    transition: background-color 0.2s, color 0.2s;
}

.placement-pill-list li:hover {
    background: #ba3a3a;
    color: #ffffff;
    border-color: #ba3a3a;
}

/* Experience Metric Counter */
.stats-counter-card {
    background: linear-gradient(
    135deg,
    #5b1616 0%,
    #8f2d2d 35%,
    #b83d3d 70%,
    #e57a2e 100%
  );
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(58, 67, 186, 0.15);
}

.stat-number {
    display: block;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Quicksand', sans-serif;
    color: #FDE64B; /* Yellow theme contrast accent */
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9;
}

/* Redesigned Clean Partner Logo Showcase Array */
.gallery-showcase-frame {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px;
}

.showcase-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #231709;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 12px;
}

.success-logos-showcase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-badge-pod {
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 10px); /* Creates uniform two-column matrix on sub-layout blocks */
    height: 70px;
    box-sizing: border-box;
    transition: transform 0.2s, border-color 0.2s;
}

.logo-badge-pod:hover {
    transform: translateY(-2px);
    border-color: rgba(58, 67, 186, 0.2);
    background: #ffffff;
}

.logo-badge-pod img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Dynamic Breakdown Adjustments across Viewports */
@media(max-width: 991px) {
    .logo-badge-pod {
        width: calc(33.33% - 10px); /* Adjusts to 3 columns on wide tablets */
    }
}

@media (max-width: 768px) {
    .about-content-card {
        padding: 25px;
    }
    .about-card-title {
        font-size: 24px;
    }
    .narrative-p {
        font-size: 14.5px;
    }
}

@media(max-width: 480px) {
    .logo-badge-pod {
        width: calc(50% - 10px); /* Returns to balanced 2 columns on compact mobile grids */
    }
}

/* ==========================================================================
   Dayspring Success Story Layout Engine
   ========================================================================== */

.success-story-section-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px 20px;
    font-family: Poppins, Quicksand, sans-serif;
    box-sizing: border-box;
    background-color: #ad292212;
}

.success-story-split {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: stretch; /* Forces equal height columns on large layouts */
}

/* --- Left Column Narrative Style Rules --- */
.success-narrative-panel {
    flex: 1.3 1 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.success-badge-tag {
    display: inline-block;
    background: rgba(181, 101, 167, 0.1); /* Theme Orchid variant */
    color: #f4a024;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.success-panel-title {
    font-size: 32px;
    color: #231709;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.success-intro-lead {
    color: #6C626D;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Competition Info Block Card */
.competition-card-context {
    display: flex;
    gap: 20px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 24px;
    border-radius: 12px;
    text-align: justify;
}

.competition-icon-hook {
    width: 44px;
    height: 44px;
    background: rgba(58, 67, 186, 0.08); /* School theme blue alpha */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.competition-icon-hook i {
    color: #ba3a3a;
    font-size: 18px;
}

.competition-text-hook h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #231709;
    font-weight: 600;
}

.competition-text-hook p {
    margin: 0;
    font-size: 14.5px;
    color: #6C626D;
    line-height: 1.6;
}

/* Placements Showcase Block Card */
.placements-showcase-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.placements-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.placements-card-header i {
    color: #f4a024;
    font-size: 20px;
}

.placements-card-header h4 {
    margin: 0;
    font-size: 17px;
    color: #231709;
    font-weight: 700;
}

.placements-card-desc {
    font-size: 14.5px;
    color: #6C626D;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Placements Horizontal Pill Badges */
.school-placement-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.school-placement-pills li {
    background: #f8f9fc;
    color: #4a404b;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    border: 1px solid #eef0f6;
    transition: all 0.25s ease;
}

.school-placement-pills li:hover {
    background: #ba3a3a;
    color: #ffffff;
    border-color: #ba3a3a;
    transform: translateY(-2px);
}

/* --- Right Column Award Matrix Grid --- */
.success-matrix-panel {
    flex: 1 1 400px;
    display: flex;
}

.matrix-card-frame {
    background: #ffffff;
    border: 1px solid #eef0f6;
    border-radius: 16px;
    padding: 40px 30px;
    width: 100%;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.matrix-frame-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 20px;
}

.matrix-frame-header h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    text-transform: uppercase;
    color: #231709;
    letter-spacing: 1px;
    font-weight: 700;
}

.matrix-frame-header p {
    margin: 0;
    font-size: 13px;
    color: #6C626D;
}

/* Grid Cell Architecture */
.badge-grid-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    flex-grow: 1;
}

.matrix-badge-pod {
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.matrix-badge-pod img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Decorative Filler Pod styling */
.matrix-badge-pod.placeholder-pod {
    flex-direction: column;
    gap: 6px;
    background: rgba(58, 67, 186, 0.02);
    border: 1px dashed rgba(58, 67, 186, 0.2);
    color: #ba3a3a;
    text-align: center;
}

.matrix-badge-pod.placeholder-pod i {
    font-size: 18px;
    color: #f4a024;
}

.matrix-badge-pod.placeholder-pod span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Matrix Pod Hover Dynamics */
.matrix-badge-pod:hover {
    transform: translateY(-4px);
    border-color: rgba(58, 67, 186, 0.2);
    box-shadow: 0 8px 20px rgba(58, 67, 186, 0.06);
    background: #ffffff;
}

/* --- Responsive Layout Breakers --- */
@media (max-width: 768px) {
    .success-panel-title {
        font-size: 26px;
    }
    .placements-showcase-card {
        padding: 20px;
    }
    .matrix-card-frame {
        padding: 30px 20px;
    }
    .badge-grid-matrix {
        grid-template-columns: repeat(2, 1fr); /* Maintains tidy grid rows on tablets */
    }
}

@media (max-width: 480px) {
    .badge-grid-matrix {
        grid-template-columns: 1fr; /* Stack into neat cards on mobile screens */
    }
    .matrix-badge-pod {
        height: 85px;
    }
}

/* ==========================================================================
   Dayspring Mission & Vision Core Identity Sheets
   ========================================================================== */

.identity-section-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Poppins', 'Quicksand', sans-serif;
    box-sizing: border-box;
}

/* Row Layout Configuration */
.identity-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch; /* Cards will automatically stay the exact same height */
}

/* Individual Identity Cards Configuration */
.identity-card {
    background: #ffffff;
    border: 1px solid #eef0f6;
    border-radius: 16px;
    padding: 40px;
    flex: 1 1 450px; /* Two columns over desktop, drops to stacked configuration below tablet */
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Vertical Color Strips on Card Edges */
.identity-card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background-color: #ba3a3a; /* Default Theme Blue */
}

.vision-card .identity-card-accent-line {
    background-color: #f4a024; /* Theme Orchid Purple for contrast tracking */
}

/* Dynamic Interactive States */
.identity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(58, 67, 186, 0.08);
}

/* Rounded Icon Frame Block rules */
.identity-icon-container {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(58, 67, 186, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.identity-icon-container i {
    color: #ba3a3a;
    font-size: 24px;
}

/* Change icon container presentation inside the orchid vision block on hovers */
.vision-card .identity-icon-container {
    background-color: rgba(181, 101, 167, 0.08);
}

.vision-card .identity-icon-container i {
    color: #f4a024;
}

.identity-card:hover .identity-icon-container {
    background-color: #ba3a3a;
}

.identity-card:hover .identity-icon-container i {
    color: #ffffff;
}

.vision-card:hover .identity-icon-container {
    background-color: #f4a024;
}

/* Text Block Typography settings */
.identity-content-box {
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.identity-mini-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #6C626D;
    margin-bottom: 4px;
}

.identity-title {
    font-size: 24px;
    color: #231709;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.identity-description {
    color: #6C626D;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Responsive Structural Breakdown Rules
   ========================================================================== */

@media (max-width: 768px) {
    .identity-card {
        padding: 30px;
        flex-direction: column; /* Icon stacks on top of text content for mobile screens */
        gap: 15px;
    }
    
    .identity-title {
        font-size: 22px;
    }
}

/* --- Dynamic Form Status Alert Boxes --- */
.form-alert-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.form-alert-box.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-alert-box.alert-error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* Button Loading State Styles */
.contact-submit-action-btn:disabled {
    background-color: #6C626D !important;
    cursor: not-allowed;
    transform: none !important;
    opacity: 0.7;
}
