/* ============================================================
   BRECOL BRANDING & IDENTITY SYSTEM — brand.css
   Special enhancements for company identity & light blue UI
   ============================================================ */

:root {
    --sky-light: #E0F5FF;
    --sky-mid: #29C6FF;
    --sky-gradient: linear-gradient(135deg, #1E5AFF, #00B4FF);
    --shadow-sky: 0 8px 32px rgba(0, 180, 255, .22);
}

/* ━━ BRAND IDENTITY STRIP ━━ */
#brand-strip {
    background: var(--sky-light);
    padding: 30px 0;
    border-bottom: 2px solid rgba(30, 90, 255, 0.1);
    position: relative;
    z-index: 5;
}

.brand-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand-main-display {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-logo-large {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.brand-text-block h2 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.brand-text-block .full-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.brand-trust-row {
    display: flex;
    gap: 16px;
}

.trust-badge {
    background: white;
    padding: 10px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 180, 255, 0.2);
}

.trust-badge .icon {
    font-size: 1.2rem;
}

.trust-badge .text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    line-height: 1;
}

.trust-badge .sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ━━ LIGHT BLUE UI ACCENTS ━━ */

/* Enhanced Section Labels */
.section-label {
    background: linear-gradient(90deg, var(--sky-light), #FFFFFF) !important;
    border-left: 4px solid var(--sky) !important;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--blue) !important;
}

/* Card Accents */
.stat-card {
    border-left: 3px solid var(--sky) !important;
}

.service-card:hover,
.about-card:hover {
    box-shadow: var(--shadow-sky) !important;
    transform: translateY(-8px) scale(1.02);
}

.service-card {
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-top-color: var(--sky);
}

/* Team Card Improvement */
.team-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border-top: 3px solid var(--sky);
    background: white;
    box-shadow: var(--shadow-sm);
}

.team-info h4 {
    color: var(--blue);
}

/* Nav Glow */
#navbar.scrolled .nav-inner {
    border-bottom: 1px solid rgba(0, 180, 255, 0.2);
}

/* Footer Brand Color */
.footer-brand .brand {
    color: var(--sky) !important;
}

.footer-brand .tagline {
    color: white !important;
    opacity: 0.8;
}

/* Vertical Divider Accent */
.brand-divider-glow {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--sky), transparent);
    margin: 0;
    opacity: 0.4;
}

/* ━━ PROJECT TRACK RECORD TABLE ━━ */
.track-record-wrap {
    margin-top: 80px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 180, 255, 0.1);
}

.table-scroll {
    overflow-x: auto;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.project-table th {
    padding: 18px 20px;
    background: var(--sky-light);
    color: var(--blue);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(0, 180, 255, 0.2);
}

.project-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
}

.project-table tr:hover td {
    background: rgba(0, 180, 255, 0.03);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.done {
    background: #E6FFFA;
    color: #047481;
    border: 1px solid #B2F5EA;
}

/* ━━ PROJECT MODAL ━━ */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

#modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.p-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: white;
    z-index: 9999;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 180, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow-y: auto;
    border-top: 6px solid var(--sky);
}

.p-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

#modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--offwhite);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#modal-close:hover {
    background: var(--sky);
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    padding: 50px;
}

.modal-header {
    margin-bottom: 35px;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 25px;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.2;
}

.m-badge {
    display: inline-block;
    background: var(--sky-light);
    color: var(--blue);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 15px;
    border-radius: 100px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-val {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}

.modal-desc-box {
    background: var(--offwhite);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--sky);
}

.modal-desc-box h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--blue);
}

.modal-desc-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-700);
}

/* ━━ RESPONSIVE ━━ */
@media (max-width: 992px) {
    .brand-strip-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .brand-main-display {
        flex-direction: column;
        gap: 12px;
    }

    .brand-logo-large {
        height: 60px;
    }

    .brand-trust-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .project-table {
        font-size: 0.8rem;
    }
}

/* ━━ LANGUAGE SWITCHER ━━ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 180, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.lang-btn.active {
    color: var(--sky);
}

.lang-btn:hover {
    color: white;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

@media (max-width: 1024px) {
    .lang-switcher {
        margin-right: 10px;
        padding: 4px 8px;
        background: transparent;
        border: none;
    }
}