/* ==============================================
   LAYOUT PARTIALS — Additional styles
   For: frontend/partials/header.blade.php
        frontend/partials/footer.blade.php
        frontend/layouts/app.blade.php
   ============================================== */

/* ---- TESTIMONIAL SLIDER ---- */
.testimonial-slider { display: block; }
.testimonial-slider .testimonial-slide { display: none; }
.testimonial-slider .testimonial-slide:not([hidden]) { display: block; }
.testimonial-slider .quote-card small {
    display: block;
    margin-top: .3rem;
    color: var(--blue);
    font-size: .78rem;
}
.slider-controls {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
}
.round-button {
    border: 1px solid #dce7ee;
    background: #fff;
    color: var(--blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}
.round-button:hover { background: var(--blue); color: #fff; }

/* ---- NAV LINKS MOBILE OPEN STATE ---- */
.nav-links.open {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

/* ---- FOOTER BRAND ---- */
.footer-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    text-decoration: none;
}
.footer-brand .brand-mark {
    background: rgba(14, 169, 226, .18);
    color: var(--sky);
}
.footer-brand strong {
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: .08em;
}
.footer-brand small {
    color: var(--sky);
    font-weight: 700;
    letter-spacing: .16em;
    font-size: .54rem;
}
.footer-about > p {
    font-size: .82rem;
    line-height: 1.65;
    color: #aabac7;
}

/* ---- FOOTER CONTACT COL ---- */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    margin: .55rem 0;
    color: #aabac7;
}
.footer-contact p i {
    color: var(--sky);
    width: 14px;
    flex-shrink: 0;
}

/* ---- FOOTER SOCIAL ---- */
.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: .6rem;
}
.footer-social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: .9rem;
    transition: background .25s, color .25s;
    margin: 0;
}
.footer-social a:hover {
    background: var(--sky);
    color: #fff;
}

/* ---- HEADER SCROLL SHADOW ---- */
.header.scrolled {
    box-shadow: 0 10px 30px rgba(7,27,51,.13);
}

/* ---- SECTION-PADDING (used in contact) ---- */
.section-padding {
    padding: 5rem 0;
}

/* ---- PM STATS (PREMIUM) ---- */
.pm-stats {
    background: linear-gradient(135deg, #071b33 0%, #0d3055 100%);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}
.pm-stats::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(22,181,240,0.1) 0%, transparent 70%);
}
.pm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.pm-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.pm-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(22,181,240,0.4);
}
.pm-stat-icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: rgba(22,181,240,0.15);
    color: #16b5f0;
    font-size: 1.5rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.pm-stat-body strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.pm-stat-body span {
    color: #aabac7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ---- WHO-GRID (home) ---- */
.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.who-grid img {
    border-radius: var(--radius);
    height: 440px;
    object-fit: cover;
}
.home-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin: .4rem 0 1rem;
    color: var(--navy);
    letter-spacing: -.03em;
}
.home-copy p { color: var(--muted); margin-bottom: .8rem; }

/* ---- PM VALUES (PREMIUM) ---- */
.pm-values {
    padding: 6rem 0;
    background: #f8fafc;
}
.pm-values-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}
.pm-values-intro h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    color: #071b33;
    margin: 0.5rem 0 1.5rem;
    letter-spacing: -0.03em;
}
.pm-values-intro h2 span { color: #16b5f0; }
.pm-values-intro p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}
.pm-values-accent {
    width: 60px; height: 4px;
    background: #16b5f0;
    margin-top: 2rem;
    border-radius: 2px;
}
.pm-values-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.pm-vcard {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}
.pm-vcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.pm-vcard-num {
    position: absolute;
    top: -10px; right: -10px;
    font-size: 6rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    z-index: 0;
    transition: color 0.3s ease;
}
.pm-vcard:hover .pm-vcard-num { color: #eaf6fc; }
.pm-vcard-body { position: relative; z-index: 1; }
.pm-vcard-icon {
    width: 54px; height: 54px;
    background: #f8fafc;
    color: #0ea5e9;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}
.pm-vcard:hover .pm-vcard-icon { background: #0ea5e9; color: #fff; }
.pm-vcard-body h3 {
    color: #0f172a;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.pm-vcard-body p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- CAPABILITY WRAP (home) ---- */
.capability-wrap {
    background: var(--navy);
    padding: 3rem 0;
}
.capability-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.capability-intro i { color: var(--sky); font-size: 1.5rem; margin-bottom: .75rem; display: block; }
.capability-intro h2 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    color: #fff;
    margin: 0;
    line-height: 1.35;
}
.capability-item { border-left: 2px solid rgba(22,181,240,.35); padding-left: 1.1rem; }
.capability-item h3 { color: var(--sky); font-size: .95rem; margin: 0 0 .4rem; }
.capability-item p { color: #b0c4d4; font-size: .8rem; margin: 0; }

/* ---- INDUSTRY SERVICES (home grid) ---- */
.industry-services { background: var(--pale); }
.industry-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}
.industry-service {
    background: #fff;
    border: 1px solid #e7eef3;
    border-radius: 14px;
    overflow: hidden;
    transition: .25s;
}
.industry-service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.industry-service img { height: 155px; object-fit: cover; }
.industry-service div { padding: 1.1rem; }
.industry-service i { color: var(--blue); font-size: 1.15rem; }
.industry-service h3 { font-size: .92rem; color: var(--navy); margin: .5rem 0 .3rem; }
.industry-service p { color: var(--muted); font-size: .77rem; margin: 0; }

/* ---- PM TESTIMONIALS (PREMIUM) ---- */
.pm-testimonials {
    padding: 6rem 0;
    background: #fff;
    overflow: hidden;
}
.pm-testi-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 5rem;
    align-items: center;
}
.pm-testi-intro h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #071b33;
    line-height: 1.15;
    margin: 0.5rem 0 1.5rem;
    letter-spacing: -0.03em;
}
.pm-testi-intro h2 span { color: #16b5f0; }
.pm-testi-intro p {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}
.pm-testi-stats-mini {
    display: flex;
    gap: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.pm-testi-stats-mini strong {
    display: block;
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 800;
}
.pm-testi-stats-mini span {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.pm-testi-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
    position: relative;
}
.pm-testi-quote {
    position: absolute;
    top: 2.5rem; right: 2.5rem;
    font-size: 3.5rem;
    color: #f1f5f9;
    line-height: 1;
}
.pm-testi-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.pm-testi-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.pm-testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.pm-testi-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16b5f0, #0ea5e9);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}
.pm-testi-author strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
}
.pm-testi-author span {
    color: #64748b;
    font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
    .pm-values-layout { grid-template-columns: 1fr; gap: 3rem; }
    .pm-testi-layout { grid-template-columns: 1fr; gap: 3rem; }
    .pm-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .capability-grid { grid-template-columns: 1fr 1fr; }
    .industry-service-grid { grid-template-columns: repeat(3, 1fr); }
    .who-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
    .capability-grid { grid-template-columns: 1fr; }
    .industry-service-grid { grid-template-columns: repeat(2, 1fr); }
    .who-grid { grid-template-columns: 1fr; }
    .pm-values-cards { grid-template-columns: 1fr; }
    .pm-stat-card { padding: 1.5rem; }
    .pm-testi-card { padding: 2rem; }
}
@media (max-width: 576px) {
    .industry-service-grid { grid-template-columns: 1fr; }
    .pm-stats-grid { grid-template-columns: 1fr; }
}
