/* 
   Centralized Custom Styles for Varanium 
   Contains styles migrated from on-page blocks in:
   - portfolio.php
   - reports.php
   - our-team.php
   - investors.php
   - contact.php
*/

/* --- Portfolio Page Styles --- */
.portfolio-filters {
    margin-bottom: 40px;
    background: #fff;
    padding: 24px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef1f6;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 700;
    color: #0f204b;
    margin-right: 15px;
    min-width: 100px;
    margin-bottom: 0;
}

.filter-btn {
    background: transparent;
    border: 1px solid #eef1f6;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 0;
    margin-bottom: 0;
}

.filter-btn:hover {
    border-color: #28a745;
    color: #28a745;
}

.filter-btn.active {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.filter-select {
    padding: 8px 35px 8px 18px;
    border: 1px solid #eef1f6;
    border-radius: 30px;
    font-size: 14px;
    color: #555;
    background-color: #f8f9fc;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
    min-width: 180px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.2);
}

.company-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(15, 32, 75, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(15, 32, 75, 0.05);
    text-align: center;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.company-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(244, 246, 250, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.company-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f204b, #28a745);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 32, 75, 0.08);
    border-color: transparent;
}

.company-card:hover::before,
.company-card:hover::after {
    opacity: 1;
}

.company-logo {
    width: 128px;
    height: 128px;
    border-radius: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 700;
    color: #0f204b;
    overflow: hidden;
    border: 1px solid rgba(15, 32, 75, 0.08);
    box-shadow: 0 8px 16px rgba(15, 32, 75, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.company-card:hover .company-logo {
    box-shadow: 0 12px 24px rgba(15, 32, 75, 0.08);
    transform: scale(1.08) rotate(-2deg);
    border-color: rgba(40, 167, 69, 0.2);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.4s ease;
}

.company-card:hover .company-logo img {
    transform: scale(1.05);
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f204b;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    width: 100%;
}

.company-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tag-sector {
    color: #3b5bdb;
    border: 1px solid rgba(59, 91, 219, 0.2);
    background: rgba(59, 91, 219, 0.03);
}

.tag-geo {
    color: #2b8a3e;
    border: 1px solid rgba(43, 138, 62, 0.2);
    background: rgba(43, 138, 62, 0.03);
}

.tag-inv {
    color: #e03131;
    border: 1px solid rgba(224, 49, 49, 0.2);
    background: rgba(224, 49, 49, 0.03);
}

.isotope-hidden {
    display: none !important;
}

/* --- Reports Page Styles --- */
.blog-area {
    background: #f8fafc;
}

.premium-report-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(15, 32, 75, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    border: 1px solid rgba(15, 32, 75, 0.12);
    height: 100%;
    position: relative;
}

.premium-report-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 32, 75, 0.15);
    border-color: rgba(40, 167, 69, 0.4);
}

.report-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    background: #f1f5f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.report-cover img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

.premium-report-card:hover .report-cover img {
    transform: scale(1.05);
}

.report-type-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e53935;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.report-details {
    padding: 12px 18px 15px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.report-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f204b;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-report-card:hover .report-title {
    color: #28a745;
}

.report-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.download-text {
    font-size: 12px;
    font-weight: 700;
    color: #28a745;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-text i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.premium-report-card:hover .download-text i {
    transform: translateX(4px);
}

/* --- Team Page Styles --- */
:root {
    --tg-primary-color: #007bff;
    --card-bg: #ffffff;
    --tag-bg: #f3f4f6;
    --text-main: #1f2937;
    --text-muted: #6b7280;
}

.team-revamp-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.team-card-modern {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.team-photo-modern {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.team-photo-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info-modern {
    flex-grow: 1;
    width: 100%;
}

.team-info-modern .name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.2;
}

.team-info-modern .role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tg-primary-color);
    letter-spacing: 0.08em;
    margin-bottom: 15px;
    display: block;
}

.team-bio-modern {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn-modern {
    font-size: 10px;
    font-weight: 800;
    color: var(--tg-primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border: 1.5px solid var(--tg-primary-color);
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.read-more-btn-modern:hover {
    background: var(--tg-primary-color);
    color: #fff;
}

.section-header-modern {
    margin-bottom: 50px;
}

.section-header-modern .title {
    font-size: 36px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header-modern .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--tg-primary-color);
    border-radius: 2px;
}

@media (max-width: 991px) {
    .team-card-modern {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-social-modern {
        justify-content: center;
    }

    .qual-tags {
        justify-content: center;
    }
}

/* --- Investors Page Styles --- */
.investors-blog-p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.investors-blog-h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-box {
    padding: 1.5rem;
    margin-bottom: 4rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

/* --- Contact Page Styles --- */
.location-card {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, filter 0.6s ease;
    margin-bottom: 30px;
    filter: grayscale(100%);
}

.location-card:hover {
    transform: translateY(-10px);
    filter: grayscale(0%);
}

.location-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
}

.location-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 1) 100%);
}

.location-card .card-content {
    position: relative;
    z-index: 2;
}

.location-card .country-name {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    z-index: 2;
    text-transform: capitalize;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8);
}

.location-card h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.location-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.5;
    text-align: left !important;
}

.location-card .contact-info {
    font-size: 14px;
    margin-bottom: 0;
}

.location-card .contact-info p {
    margin-bottom: 5px;
}

.location-card .contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
}

.location-card .contact-info a:hover {
    color: #fff;
    text-decoration: none;
}
