﻿/*=====================================================
 PRAJAPATI COMMUNITY PORTAL
 Site.css
 Version : 1.0
======================================================*/

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    background: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

/*-----------------------------------------
 LINKS
-----------------------------------------*/

a
{
    color: #1565C0;
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

/*-----------------------------------------
 CONTAINER
-----------------------------------------*/

.container
{
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/*-----------------------------------------
 WRAPPER
-----------------------------------------*/

.wrapper
{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*-----------------------------------------
 HEADER
-----------------------------------------*/

.header
{
    background: #1565C0;
    color: #fff;
    padding: 15px 0;
}

.header-row
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left
{
    display: flex;
    align-items: center;
}

.logo
{
    width: 80px;
    height: auto;
}

.title-area
{
    margin-left: 15px;
}

.title-area h1
{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 5px;
}

.title-area span
{
    font-size: 14px;
}

.header-right
{
    text-align: right;
}

.login-link
{
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.login-link:hover
{
    color: #FFD54F;
}

/*-----------------------------------------
 NAVIGATION
-----------------------------------------*/

.navigation
{
    background: #0D47A1;
}

.navigation ul
{
    list-style: none;
    display: flex;
}

.navigation li
{
}

.navigation li a
{
    display: block;
    color: #fff;
    padding: 15px 20px;
    font-weight: bold;
}

.navigation li a:hover
{
    background: #1976D2;
    text-decoration: none;
}

/*-----------------------------------------
 MOBILE MENU
-----------------------------------------*/

.mobile-menu
{
    display: none;
    padding: 15px;
    text-align: right;
}

.mobile-menu a
{
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

/*==========================================
    PAGE CONTENT
==========================================*/

.page-content
{
    flex: 1;
    padding: 20px 0;
}

/*==========================================
    CARD
==========================================*/

.card
{
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header
{
    background: #1565C0;
    color: #FFFFFF;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
}

.card-body
{
    padding: 20px;
}

/*==========================================
    ROW & COLUMNS
==========================================*/

.row
{
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.col-12
{
    width: 100%;
    padding: 10px;
}

.col-6
{
    width: 50%;
    padding: 10px;
}

.col-4
{
    width: 33.33%;
    padding: 10px;
}

.col-3
{
    width: 25%;
    padding: 10px;
}

/*==========================================
    FORM
==========================================*/

.form-group
{
    margin-bottom: 15px;
}

.form-group label
{
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333333;
}

.form-control
{
    width: 100%;
    padding: 8px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 14px;
    background: #FFFFFF;
}

.form-control:focus
{
    border-color: #1565C0;
    outline: none;
}

/* ASP.NET Controls */

input[type=text], input[type=password], input[type=email], textarea, select
{
    width: 100%;
    padding: 8px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 14px;
}

textarea
{
    resize: vertical;
}

/*==========================================
    BUTTONS
==========================================*/

.btn
{
    display: inline-block;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    text-align: center;
}

.btn-primary
{
    background: #1565C0;
    color: #FFFFFF;
}

.btn-primary:hover
{
    background: #0D47A1;
}

.btn-success
{
    background: #2E7D32;
    color: #FFFFFF;
}

.btn-success:hover
{
    background: #1B5E20;
}

.btn-danger
{
    background: #C62828;
    color: #FFFFFF;
}

.btn-danger:hover
{
    background: #B71C1C;
}

/*==========================================
    TEXT
==========================================*/

.text-center
{
    text-align: center;
}

.text-right
{
    text-align: right;
}

.text-left
{
    text-align: left;
}

/*==========================================
    FOOTER
==========================================*/

.footer
{
    background: #0D47A1;
    color: #FFFFFF;
    padding: 20px 0;
    margin-top: 30px;
}

.footer-links
{
    text-align: center;
    margin-bottom: 10px;
}

.footer-links a
{
    color: #FFFFFF;
    margin: 0 8px;
}

.footer-copy
{
    text-align: center;
    font-size: 13px;
}

/*==========================================
    RESPONSIVE
==========================================*/

@media screen and (max-width:768px)
{

    .header-row
    {
        flex-direction: column;
        text-align: center;
    }

    .header-left
    {
        flex-direction: column;
    }

    .title-area
    {
        margin-left: 0;
        margin-top: 10px;
    }

    .title-area h1
    {
        font-size: 24px;
    }

    .logo
    {
        width: 70px;
    }

    .header-right
    {
        margin-top: 15px;
    }

    .mobile-menu
    {
        display: block;
    }

    .navigation ul
    {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navigation ul li
    {
        width: 100%;
    }

    .navigation ul li a
    {
        border-top: 1px solid rgba(255,255,255,.2);
        padding: 12px;
    }

    .row
    {
        display: block;
    }

    .col-6, .col-4, .col-3, .col-12
    {
        width: 100%;
        padding: 8px 0;
    }

    .container
    {
        width: 94%;
    }

}

/*==========================================
    LARGE SCREEN
==========================================*/

@media screen and (min-width:769px)
{

    #mainMenu
    {
        display: flex !important;
    }

}

/*==========================================
    PAGE HEADER
==========================================*/

.page-header
{
    background: #FFFFFF;
    border-left: 5px solid #1565C0;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.page-header h2
{
    margin: 0;
    color: #1565C0;
    font-size: 24px;
}

.page-header p
{
    margin-top: 6px;
    color: #666;
    font-size: 14px;
}

/*==========================================
    SECTION TITLE
==========================================*/

.section-title
{
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1565C0;
    color: #1565C0;
    font-size: 18px;
    font-weight: bold;
}


/*=========================================================
    PRAJAPATI CONNECT V2
    HOME PAGE
=========================================================*/

:root
{
    --primary: #0D6EFD;
    --primary-dark: #084298;
    --secondary: #F8F9FA;
    --white: #FFFFFF;
    --dark: #212529;
    --text: #6C757D;
    --border: #E5E7EB;
}

/*=========================================
    CONTAINER
=========================================*/

.container
{
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/*=========================================
    HERO SECTION
=========================================*/

.hero-section
{
    background: linear-gradient(             rgba(13,110,253,.82),             rgba(8,66,152,.85)         ), url('../Images/banner1.jpg');
    background-size: cover;
    background-position: center;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay
{
    width: 100%;
}

.hero-content
{
    max-width: 700px;
}

.hero-subtitle
{
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-title
{
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-description
{
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: .95;
}

/*=========================================
    BUTTONS
=========================================*/

.hero-buttons
{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-custom
{
    background: #fff;
    color: var(--primary);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .35s;
}

.btn-primary-custom:hover
{
    background: #E9ECEF;
    transform: translateY(-4px);
}

.btn-secondary-custom
{
    border: 2px solid #fff;
    color: #fff;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .35s;
}

.btn-secondary-custom:hover
{
    background: #fff;
    color: var(--primary);
}

/*=========================================
    COMMON SECTION
=========================================*/

.section
{
    padding: 90px 0;
}

.section-title
{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2
{
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p
{
    color: var(--text);
    font-size: 20px;
}

/*=========================================
    SERVICE GRID
=========================================*/

.service-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

.service-card
{
    background: #fff;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .35s;
    border: 1px solid var(--border);
}

.service-card:hover
{
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(13,110,253,.18);
}

.service-icon
{
    font-size: 55px;
    margin-bottom: 20px;
}

.service-card h3
{
    margin-bottom: 15px;
    font-size: 26px;
    color: var(--primary-dark);
}

.service-card p
{
    color: var(--text);
    line-height: 1.8;
}

/*=========================================
    RESPONSIVE
=========================================*/

@media (max-width:992px)
{

    .hero-title
    {
        font-size: 48px;
    }

    .hero-description
    {
        font-size: 20px;
    }

}

@media (max-width:768px)
{

    .hero-section
    {
        min-height: 520px;
        text-align: center;
    }

    .hero-title
    {
        font-size: 38px;
    }

    .hero-description
    {
        font-size: 18px;
    }

    .hero-buttons
    {
        justify-content: center;
    }

    .section
    {
        padding: 60px 0;
    }

    .section-title h2
    {
        font-size: 32px;
    }

}

@media (max-width:480px)
{

    .hero-title
    {
        font-size: 30px;
    }

    .hero-subtitle
    {
        font-size: 20px;
    }

    .hero-description
    {
        font-size: 16px;
    }

    .btn-primary-custom, .btn-secondary-custom
    {
        width: 100%;
        text-align: center;
    }

}

/*=========================================
    ABOUT
=========================================*/

.about-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image img
{
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

.section-tag
{
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.about-content h2
{
    font-size: 40px;
    margin-bottom: 25px;
}

.about-content p
{
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 20px;
}

/*=========================================
    STATS
=========================================*/

.stats-section
{
    background: linear-gradient(135deg,#0D6EFD,#084298);
    padding: 80px 0;
}

.stats-grid
{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.stat-card
{
    color: #fff;
    text-align: center;
}

.stat-card h2
{
    font-size: 52px;
    margin-bottom: 10px;
}

.stat-card span
{
    font-size: 20px;
    opacity: .95;
}

/*=========================================
    VISION
=========================================*/

.vision-grid
{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 35px;
}

.vision-card
{
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .3s;
}

.vision-card:hover
{
    transform: translateY(-8px);
}

.vision-card h3
{
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.vision-card p
{
    color: var(--text);
    line-height: 1.8;
}

/*=========================================
    MOBILE
=========================================*/

@media (max-width:768px)
{

    .about-grid
    {
        grid-template-columns: 1fr;
    }

    .stats-grid
    {
        grid-template-columns: repeat(2,1fr);
    }

    .vision-grid
    {
        grid-template-columns: 1fr;
    }

    .about-content
    {
        text-align: center;
    }

}

/*=========================================
    NEWS & EVENTS
=========================================*/

.light-section
{
    background: #F8FAFC;
}

.news-events-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.home-heading
{
    color: #0D6EFD;
    margin-bottom: 25px;
    font-size: 30px;
}

/*================ NEWS =================*/

.news-card
{
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.news-card:hover
{
    transform: translateY(-6px);
}

.news-date
{
    display: inline-block;
    background: #E8F1FF;
    color: #0D6EFD;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: bold;
}

.news-card h4
{
    margin-bottom: 12px;
}

.news-card p
{
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.news-card a
{
    text-decoration: none;
    color: #0D6EFD;
    font-weight: bold;
}

/*================ EVENTS =================*/

.event-card
{
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.event-card:hover
{
    transform: translateX(8px);
}

.event-date
{
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 15px;
    background: #0D6EFD;
    color: #fff;
    text-align: center;
    margin-right: 20px;
    padding-top: 10px;
    font-weight: bold;
}

.event-date span
{
    display: block;
    font-size: 30px;
    line-height: 30px;
}

.event-info h4
{
    margin-bottom: 8px;
}

.event-info p
{
    color: #666;
}

/*================ MOBILE =================*/

@media (max-width:768px)
{

    .news-events-grid
    {
        grid-template-columns: 1fr;
    }

}

/*=========================================
    GALLERY
=========================================*/

.gallery-grid
{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-grid img
{
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
    transition: .4s;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0,0,0,.12);
}

.gallery-grid img:hover
{
    transform: scale(1.04);
}

.center-button
{
    text-align: center;
}

/*=========================================
    CTA
=========================================*/

.cta-section
{
    padding: 90px 20px;
    background: linear-gradient(135deg,#0D6EFD,#084298);
    text-align: center;
    color: #fff;
}

.cta-section h2
{
    font-size: 44px;
    margin-bottom: 20px;
}

.cta-section p
{
    font-size: 20px;
    max-width: 750px;
    margin: auto;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button
{
    display: inline-block;
    background: #fff;
    color: #0D6EFD;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
    transition: .35s;
}

.cta-button:hover
{
    transform: translateY(-4px);
}

/*=========================================
    SUPPORT
=========================================*/

.support-section
{
    background: #F8FAFC;
}

.support-grid
{
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 40px;
}

.support-grid h2
{
    font-size: 38px;
    margin-bottom: 20px;
}

.support-grid p
{
    line-height: 1.9;
    color: #666;
}

.support-button
{
    text-align: right;
}

@media (max-width:768px)
{

    .gallery-grid
    {
        grid-template-columns: repeat(2,1fr);
    }

    .support-grid
    {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .support-button
    {
        text-align: center;
        margin-top: 30px;
    }

}

/*=========================================
GLOBAL
=========================================*/

.global-section
{
    padding: 90px 0;
    background: #fff;
}

.country-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    gap: 25px;
}

.country-card
{
    background: #F8FAFC;
    padding: 35px;
    text-align: center;
    border-radius: 20px;
    font-size: 42px;
    transition: .35s;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.country-card:hover
{
    transform: translateY(-8px);
    background: #0D6EFD;
    color: #fff;
}

.country-card h4
{
    margin-top: 15px;
    font-size: 20px;
}

/*=========================================
FOOTER
=========================================*/

.portal-footer
{
    background: #071C39;
    color: #fff;
    padding-top: 70px;
}

.footer-grid
{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-grid h3, .footer-grid h4
{
    margin-bottom: 20px;
}

.footer-grid p
{
    line-height: 1.9;
    color: #D8D8D8;
}

.footer-grid ul
{
    list-style: none;
    padding: 0;
}

.footer-grid li
{
    margin-bottom: 12px;
}

.footer-grid a
{
    color: #D8D8D8;
    text-decoration: none;
    transition: .3s;
}

.footer-grid a:hover
{
    color: #fff;
    padding-left: 8px;
}

.footer-bottom
{
    text-align: center;
    padding: 30px 0;
    font-size: 15px;
    color: #CCC;
}

.footer-bottom span
{
    display: block;
    margin-top: 12px;
    color: #9CC7FF;
    font-style: italic;
}

@media (max-width:768px)
{

    .footer-grid
    {
        grid-template-columns: 1fr;
        text-align: center;
    }

}

/* =========================================================
   COMPLETE PROFILE
   ========================================================= */

.complete-profile-page
{
    max-width: 1280px;
}


/* ---------------------------------------------------------
   WELCOME
   --------------------------------------------------------- */

.complete-profile-welcome
{
    margin-bottom: 16px;
}

.complete-profile-welcome h2
{
    margin-bottom: 4px;
}

.complete-profile-welcome p
{
    font-size: 14px;
}


/* ---------------------------------------------------------
   INTRODUCTION
   --------------------------------------------------------- */

.complete-profile-intro
{
    margin-bottom: 28px !important;
}

.complete-profile-intro h4
{
    margin-bottom: 5px;
    font-size: 18px;
}

.complete-profile-intro p
{
    margin: 0;
    font-size: 14px;
}


/* =========================================================
   OCCUPATION GRID
   ========================================================= */

.occupation-grid
{
    display: grid; /* 4 cards in one row on large screens */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


/* ---------------------------------------------------------
   GRID ITEM
   --------------------------------------------------------- */

.occupation-grid-item
{
    min-width: 0;
}


/* ---------------------------------------------------------
   OCCUPATION CARD
   --------------------------------------------------------- */

.occupation-card
{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 180px;
    padding: 20px 18px;
    background: #FFFFFF;
    border: 1px solid #DFE3E7;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
    color: inherit;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.occupation-card:hover
{
    transform: translateY(-4px);
    border-color: #B8CEE6;
    box-shadow: 0 9px 23px rgba(0, 0, 0, 0.09);
}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.occupation-icon
{
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #F4F6F8;
    border-radius: 12px;
    font-size: 28px;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.occupation-content
{
    min-width: 0;
    padding-right: 20px;
}

.occupation-content h5
{
    margin: 0 0 6px;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
}

.occupation-content p
{
    margin: 0;
    color: #4F6E9D;
    font-size: 13px;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   ARROW
   --------------------------------------------------------- */

.occupation-arrow
{
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: #AAAAAA;
    font-size: 22px;
    transition: transform .2s ease, color .2s ease;
}

.occupation-card:hover .occupation-arrow
{
    transform: translateX(4px);
    color: #1565C0;
}


/* =========================================================
   FIND MEMBERS
   ========================================================= */

.complete-profile-search
{
    margin-top: 28px;
    text-align: center;
}

.complete-profile-search-text
{
    margin-bottom: 8px;
    color: #777;
    font-size: 12px;
}

.btn-find-members
{
    min-width: 245px;
    padding: 10px 22px;
    background: #FFFFFF;
    border: 1px solid #1565C0;
    border-radius: 50px;
    color: #1565C0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn-find-members:hover
{
    background: #1565C0;
    color: #FFFFFF;
    box-shadow: 0 5px 14px rgba(21, 101, 192, .20);
}


/* =========================================================
   SKIP
   ========================================================= */

.complete-profile-skip
{
    margin-top: 12px;
}

.complete-profile-skip .btn-link
{
    font-size: 13px;
    text-decoration: none;
}

.complete-profile-skip .btn-link:hover
{
    text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 950px)
{

    .occupation-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

}


/* =========================================================
   MOBILE
   2 cards per row intentionally retained
   ========================================================= */

@media screen and (max-width: 600px)
{

    .complete-profile-page
    {
        padding-top: 15px !important;
    }

    .complete-profile-welcome
    {
        margin-bottom: 13px;
    }

    .complete-profile-welcome h2
    {
        font-size: 22px;
    }

    .complete-profile-intro
    {
        margin-bottom: 22px !important;
    }

    .complete-profile-intro h4
    {
        margin: 0 0 5px;
        color: #292929;
        font-size: 18px;
        font-weight: 700;
    }

    .complete-profile-intro p
    {
        margin: 0 !important;
        color: #6C757D;
        font-size: 13px;
    }


    /*
           Keep 2 cards per row on mobile.
        */

    .occupation-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .occupation-card
    {
        min-height: 165px;
        padding: 14px 12px;
    }

    .occupation-icon
    {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
        font-size: 22px;
    }

    .occupation-content
    {
        padding-right: 0;
    }

    .occupation-content h5
    {
        font-size: 13px;
    }

    .occupation-content p
    {
        padding-right: 8px;
        font-size: 10px;
        line-height: 1.4;
    }

    .occupation-arrow
    {
        right: 10px;
        bottom: 9px;
        font-size: 17px;
    }

    .complete-profile-search
    {
        margin-top: 22px;
    }

    .btn-find-members
    {
        width: 100%;
        min-width: 0;
    }

}
/* =========================================================
   PROFESSIONAL INFORMATION
   RESPONSIVE PROFILE FORM
   ========================================================= */

.profile-page
{
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0 40px;
}


/* ---------------------------------------------------------
   PAGE HEADER
   --------------------------------------------------------- */

.profile-page-header
{
    text-align: center;
    margin-bottom: 22px;
}

.profile-member-code
{
    display: block;
    margin-bottom: 5px;
    color: #1565C0;
    font-weight: 600;
    font-size: 14px;
}

.profile-page-header h1
{
    margin: 0;
    color: #212529;
    font-size: 28px;
    font-weight: 700;
}

.profile-page-header p
{
    margin: 6px 0 0;
    color: #666;
    font-size: 15px;
}


/* ---------------------------------------------------------
   PROFILE CARD
   --------------------------------------------------------- */

.profile-card
{
    background: #FFFFFF;
    border: 1px solid #E1E5EA;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.profile-card-header
{
    padding: 22px 24px 16px;
    border-bottom: 1px solid #E9ECEF;
}

.profile-card-header h2
{
    margin: 0 0 5px;
    color: #1565C0;
    font-size: 20px;
    font-weight: 700;
}

.profile-card-header p
{
    margin: 0;
    color: #6C757D;
    font-size: 14px;
}

.profile-card-body
{
    padding: 24px;
}


/* ---------------------------------------------------------
   RESPONSIVE FORM GRID
   --------------------------------------------------------- */

.profile-grid
{
    display: grid; /* Desktop: 3 columns */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 16px;
}


/* ---------------------------------------------------------
   FORM FIELD
   --------------------------------------------------------- */

.profile-field
{
    min-width: 0;
}

.profile-field label
{
    display: block;
    margin-bottom: 6px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

.profile-field .form-control, .profile-field .form-select
{
    width: 100%;
    min-height: 42px;
}

.required
{
    color: #C62828;
}


/* ---------------------------------------------------------
   FIELD SPANS
   --------------------------------------------------------- */

.profile-field-wide
{
    grid-column: span 2;
}

.profile-field-full
{
    grid-column: 1 / -1;
}

.profile-field-small
{
    max-width: 220px;
}


/* ---------------------------------------------------------
   EXPERIENCE
   --------------------------------------------------------- */

.experience-wrapper
{
    display: flex;
    align-items: center;
    gap: 8px;
}

.experience-wrapper .form-control
{
    max-width: 130px;
}

.experience-wrapper span
{
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   TEXTAREAS
   --------------------------------------------------------- */

.profile-field textarea
{
    min-height: 85px;
    resize: vertical;
}

.character-hint
{
    margin-top: 5px;
    color: #777;
    font-size: 12px;
}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.profile-actions
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #E9ECEF;
}

.profile-save-button
{
    min-width: 230px;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600;
}

.profile-skip-button
{
    color: #6C757D;
    font-size: 14px;
    text-decoration: none;
}

.profile-skip-button:hover
{
    color: #1565C0;
    text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px)
{

    .profile-page
    {
        width: 94%;
    }

    .profile-grid
    {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .profile-field-wide
    {
        grid-column: 1 / -1;
    }

    .profile-field-full
    {
        grid-column: 1 / -1;
    }

    .profile-field-small
    {
        max-width: none;
    }
}


/* =========================================================
   MOBILE
   IMPORTANT:
   Two columns are intentionally retained.
   ========================================================= */

@media screen and (max-width: 600px)
{

    .profile-page
    {
        width: 94%;
        padding: 15px 0 30px;
    }

    .profile-page-header
    {
        margin-bottom: 16px;
    }

    .profile-page-header h1
    {
        font-size: 23px;
    }

    .profile-page-header p
    {
        font-size: 14px;
    }

    .profile-card
    {
        border-radius: 12px;
    }

    .profile-card-header
    {
        padding: 18px 16px 14px;
    }

    .profile-card-header h2
    {
        font-size: 18px;
    }

    .profile-card-body
    {
        padding: 16px;
    }


    /*
           Two columns on mobile.
           This is intentional so short fields
           remain compact.
        */
    .profile-grid
    {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 15px 10px;
    }


    /*
           Organization remains full width.
        */
    .profile-field-wide
    {
        grid-column: 1 / -1;
    }


    /*
           Address and Bio remain full width.
        */
    .profile-field-full
    {
        grid-column: 1 / -1;
    }


    .profile-field label
    {
        font-size: 13px;
    }

    .profile-field .form-control, .profile-field .form-select
    {
        font-size: 13px;
        min-height: 40px;
    }


    .experience-wrapper .form-control
    {
        max-width: 100%;
    }


    .profile-actions
    {
        flex-direction: column;
        gap: 10px;
    }

    .profile-save-button
    {
        width: 100%;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media screen and (max-width: 380px)
{

    .profile-card-body
    {
        padding: 12px;
    }

    .profile-grid
    {
        gap: 13px 8px;
    }

    .profile-field .form-control, .profile-field .form-select
    {
        font-size: 12px;
    }

}


/* =========================================================
   SKILLS PAGE
   ========================================================= */

.skills-page
{
    max-width: 900px;
}


/* ---------------------------------------------------------
   ADD SKILL
   --------------------------------------------------------- */

.skills-add-section
{
    padding-bottom: 24px;
    border-bottom: 1px solid #E9ECEF;
}

.skills-add-grid
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: end;
}

.skills-add-button
{
    display: flex;
    align-items: end;
}

.skills-add-button .btn
{
    width: 100%;
    min-height: 42px;
    border-radius: 50px;
    font-weight: 600;
}

.skills-message
{
    display: block;
    margin-top: 10px;
    font-size: 14px;
}


/* ---------------------------------------------------------
   SELECTED SKILLS SECTION
   --------------------------------------------------------- */

.skills-list-section
{
    margin-top: 26px;
}

.skills-section-title
{
    margin-bottom: 14px;
}

.skills-section-title h3
{
    margin: 0 0 4px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

.skills-section-title span
{
    color: #777;
    font-size: 13px;
}


/* ---------------------------------------------------------
   SKILL LIST
   --------------------------------------------------------- */

.skills-list
{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-item
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: #F8F9FA;
    border: 1px solid #E1E5EA;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.skill-item:hover
{
    border-color: #C9D8E8;
    background: #F5F8FB;
}


/* ---------------------------------------------------------
   SKILL NAME
   --------------------------------------------------------- */

.skill-info
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.skill-name
{
    color: #212529;
    font-size: 15px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   PRIMARY BADGE
   --------------------------------------------------------- */

.skill-primary-badge
{
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    background: #E8F1FF;
    color: #1565C0;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   SKILL ACTIONS
   --------------------------------------------------------- */

.skill-actions
{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.skill-primary-button, .skill-remove-button
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}


/* Make Primary */

.skill-primary-button
{
    color: #1565C0;
    background: #FFFFFF;
    border: 1px solid #1565C0;
}

.skill-primary-button:hover
{
    color: #FFFFFF;
    background: #1565C0;
}


/* Remove */

.skill-remove-button
{
    color: #C62828;
    background: #FFFFFF;
    border: 1px solid #C62828;
}

.skill-remove-button:hover
{
    color: #FFFFFF;
    background: #C62828;
}


/* ---------------------------------------------------------
   EMPTY STATE
   --------------------------------------------------------- */

.skills-empty
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px;
    color: #777;
    text-align: left;
    background: #F8F9FA;
    border: 1px dashed #CED4DA;
    border-radius: 10px;
}

.skills-empty-icon
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #E8F1FF;
    color: #1565C0;
    font-size: 18px;
}

.skills-empty strong
{
    color: #444;
    font-size: 14px;
}

.skills-empty span
{
    font-size: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 700px)
{

    .skills-page
    {
        width: 94%;
    }

    .skills-add-grid
    {
        grid-template-columns: minmax(0, 1fr) 150px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px)
{

    .skills-page
    {
        width: 94%;
        padding-top: 15px;
    }


    .skills-page .profile-card-header
    {
        padding: 18px 16px 14px;
    }


    .skills-page .profile-card-body
    {
        padding: 16px;
    }


    /*
           Keep Skill + Add Skill side-by-side
           on mobile.
        */

    .skills-add-grid
    {
        grid-template-columns: minmax(0, 1fr) 115px;
        gap: 10px;
    }


    .skills-add-button .btn
    {
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
    }


    .skills-section-title h3
    {
        font-size: 17px;
    }


    /*
           Skill rows become vertically stacked
           so buttons don't get cramped.
        */

    .skill-item
    {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 13px;
    }


    .skill-info
    {
        width: 100%;
    }


    .skill-actions
    {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }


    .skill-primary-button, .skill-remove-button
    {
        width: 100%;
    }


    .skills-empty
    {
        padding: 22px 15px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media screen and (max-width: 380px)
{

    .skills-add-grid
    {
        grid-template-columns: minmax(0, 1fr) 105px;
        gap: 7px;
    }

    .skills-add-button .btn
    {
        font-size: 12px;
    }

    .skill-actions
    {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   MEMBER HEADER MENU
   ========================================================= */

.member-menu
{
    display: flex;
    align-items: center;
    gap: 18px;
}

.member-name
{
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
}

.logout-link
{
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.logout-link:hover
{
    color: #E3F2FD;
    text-decoration: underline;
}


/* ================================
   SERVICE PERSON
   ================================ */

.service-page .service-section
{
    margin-bottom: 32px;
}

.service-page .service-section-title
{
    margin-bottom: 20px;
}

.service-page .service-section-title h3
{
    margin-bottom: 5px;
}

.service-page .service-section-title span
{
    color: #777;
    font-size: 14px;
}

.service-grid
{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.service-grid-3
{
    grid-template-columns: repeat(3, 1fr);
}

.service-page .profile-field
{
    margin-bottom: 20px;
}

.service-page .required
{
    color: #dc3545;
}

.service-message
{
    display: block;
    margin-bottom: 20px;
}

.service-message.success
{
    color: #198754;
}

.service-message.error
{
    color: #dc3545;
}

.services-list-section
{
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.services-section-title
{
    margin-bottom: 20px;
}

.services-section-title h3
{
    margin-bottom: 5px;
}

.services-section-title span
{
    color: #777;
    font-size: 14px;
}

.service-item
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.service-item-name
{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-item-experience
{
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.service-item-description
{
    color: #555;
    margin-bottom: 10px;
}

.service-item-location
{
    color: #777;
    font-size: 14px;
}

.service-item-actions
{
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.service-edit-button, .service-remove-button
{
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 14px;
}

.service-edit-button
{
    color: #0d6efd;
    border: 1px solid #0d6efd;
}

.service-remove-button
{
    color: #dc3545;
    border: 1px solid #dc3545;
}

.services-empty
{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    border-radius: 10px;
    background: #f8f9fa;
    color: #666;
}

.services-empty-icon
{
    font-size: 24px;
}


/* Mobile */
@media (max-width: 768px)
{

    .service-grid, .service-grid-3
    {
        grid-template-columns: 1fr;
    }

    .service-item
    {
        flex-direction: column;
    }

    .service-item-actions
    {
        width: 100%;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media screen and (max-width: 600px)
{

    .member-menu
    {
        gap: 10px;
    }

    .member-name
    {
        font-size: 14px;
    }

    .logout-link
    {
        font-size: 13px;
    }

}



/* =========================================================
   BUSINESS OWNER PAGE
   ========================================================= */

.business-page
{
    width: 92%;
    max-width: 1200px;
}


/* ---------------------------------------------------------
   BUSINESS FORM SECTION
   --------------------------------------------------------- */

.business-section
{
    margin-bottom: 28px;
}

.business-section:last-child
{
    margin-bottom: 0;
}

.business-section-title
{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E9ECEF;
}

.business-section-title h3
{
    margin: 0;
    color: #1565C0;
    font-size: 17px;
    font-weight: 700;
}

.business-section-title span
{
    color: #6C757D;
    font-size: 13px;
}


/* ---------------------------------------------------------
   BUSINESS GRID
   Desktop = 4 columns
   --------------------------------------------------------- */

.business-grid
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 16px;
}


/* Field spanning 2 columns */

.business-field-wide
{
    grid-column: span 2;
}


/* Full width */

.business-field-full
{
    grid-column: 1 / -1;
}


/* ---------------------------------------------------------
   BUSINESS HINT
   --------------------------------------------------------- */

.business-hint
{
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 12px;
}


/* ---------------------------------------------------------
   BUSINESS DESCRIPTION
   --------------------------------------------------------- */

.business-description textarea
{
    min-height: 100px;
    resize: vertical;
}


/* ---------------------------------------------------------
   BUSINESS MESSAGE
   --------------------------------------------------------- */

.business-message
{
    display: block;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
}


/* ---------------------------------------------------------
   BUSINESS LIST
   --------------------------------------------------------- */

.business-list-section
{
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #E9ECEF;
}

.business-list-title
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.business-list-title h3
{
    margin: 0;
    color: #212529;
    font-size: 18px;
    font-weight: 700;
}

.business-list-title span
{
    color: #777;
    font-size: 13px;
}


/* ---------------------------------------------------------
   BUSINESS CARD
   --------------------------------------------------------- */

.business-list
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.business-item
{
    position: relative;
    padding: 18px;
    background: #F8FAFC;
    border: 1px solid #E2E7ED;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.business-item:hover
{
    transform: translateY(-2px);
    border-color: #C7D9EE;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}


/* ---------------------------------------------------------
   BUSINESS CARD HEADER
   --------------------------------------------------------- */

.business-item-header
{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.business-name
{
    margin: 0;
    color: #1565C0;
    font-size: 17px;
    font-weight: 700;
}

.business-type
{
    display: inline-block;
    margin-top: 4px;
    color: #6C757D;
    font-size: 12px;
}


/* ---------------------------------------------------------
   BUSINESS CARD DESCRIPTION
   --------------------------------------------------------- */

.business-item-description
{
    margin: 10px 0;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   BUSINESS META
   --------------------------------------------------------- */

.business-meta
{
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
    color: #555;
    font-size: 12px;
}

.business-meta-item
{
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


/* ---------------------------------------------------------
   BUSINESS ACTIONS
   --------------------------------------------------------- */

.business-actions
{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #E3E7EB;
}

.business-edit-button, .business-remove-button
{
    display: inline-block;
    padding: 6px 13px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.business-edit-button
{
    color: #1565C0;
    background: #EAF2FB;
}

.business-edit-button:hover
{
    color: #FFFFFF;
    background: #1565C0;
}

.business-remove-button
{
    color: #C62828;
    background: #FDECEC;
}

.business-remove-button:hover
{
    color: #FFFFFF;
    background: #C62828;
}


/* ---------------------------------------------------------
   EMPTY BUSINESS STATE
   --------------------------------------------------------- */

.business-empty
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px;
    color: #6C757D;
    background: #F8F9FA;
    border: 1px dashed #CED4DA;
    border-radius: 10px;
    text-align: center;
}

.business-empty-icon
{
    font-size: 24px;
    color: #1565C0;
}

.business-empty strong
{
    color: #495057;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px)
{

    .business-page
    {
        width: 94%;
    }

    .business-grid
    {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .business-field-wide
    {
        grid-column: 1 / -1;
    }

    .business-field-full
    {
        grid-column: 1 / -1;
    }

    .business-list
    {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================================
   MOBILE
   IMPORTANT:
   Two columns are intentionally retained.
   ========================================================= */

@media screen and (max-width: 600px)
{

    .business-page
    {
        width: 94%;
        padding: 15px 0 30px;
    }

    .business-grid
    {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 15px 10px;
    }

    .business-field-wide
    {
        grid-column: 1 / -1;
    }

    .business-field-full
    {
        grid-column: 1 / -1;
    }


    .business-section-title
    {
        display: block;
    }

    .business-section-title h3
    {
        font-size: 16px;
    }

    .business-section-title span
    {
        display: block;
        margin-top: 3px;
    }


    .business-list
    {
        grid-template-columns: 1fr;
    }

    .business-list-title
    {
        display: block;
    }

    .business-list-title span
    {
        display: block;
        margin-top: 4px;
    }


    .business-item
    {
        padding: 15px;
    }

    .business-name
    {
        font-size: 16px;
    }

}

/* =========================================================
   PUBLIC MEMBER SEARCH
   ========================================================= */

.member-search-page
{
    max-width: 1200px;
}


/* ---------------------------------------------------------
   SEARCH CARD
   --------------------------------------------------------- */

.member-search-card
{
    margin-bottom: 28px;
}

.member-search-main
{
    margin-bottom: 20px;
}

.member-search-input
{
    position: relative;
}

.member-search-icon
{
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #777;
    font-size: 14px;
}

.member-search-input .form-control
{
    padding-left: 38px;
}


/* ---------------------------------------------------------
   FILTER GRID
   --------------------------------------------------------- */

.member-search-filter-grid
{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.member-search-actions
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E9ECEF;
}

.member-search-actions .profile-save-button
{
    min-width: 190px;
}


/* ---------------------------------------------------------
   RESULTS HEADER
   --------------------------------------------------------- */

.member-search-results-header
{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.member-search-results-header h2
{
    margin: 0;
    color: #212529;
    font-size: 20px;
    font-weight: 700;
}

.member-search-results-header > div > span
{
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 13px;
}

.member-search-result-count
{
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 8px 13px;
    background: #F8F9FA;
    border: 1px solid #E1E5EA;
    border-radius: 8px;
}

.member-search-result-count > span
{
    margin: 0 !important;
    font-size: 11px !important;
}

.member-search-result-count label
{
    color: #1565C0;
    font-size: 20px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   RESULT GRID
   --------------------------------------------------------- */

.member-result-grid
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


/* ---------------------------------------------------------
   MEMBER CARD
   --------------------------------------------------------- */

.member-result-card
{
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #E1E5EA;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.member-result-card:hover
{
    transform: translateY(-3px);
    border-color: #C7D9EE;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   CARD TOP
   --------------------------------------------------------- */

.member-result-top
{
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    background: linear-gradient(             135deg,             #F8FBFF,             #FFFFFF         );
    border-bottom: 1px solid #E9ECEF;
}

.member-result-avatar
{
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(             135deg,             #1565C0,             #0D47A1         );
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
}

.member-result-heading
{
    min-width: 0;
}

.member-result-code
{
    display: block;
    margin-bottom: 2px;
    color: #1565C0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.member-result-heading h3
{
    margin: 0;
    color: #282828;
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ---------------------------------------------------------
   BODY
   --------------------------------------------------------- */

.member-result-body
{
    flex: 1;
    padding: 15px 18px;
}

.member-result-detail
{
    margin-bottom: 12px;
}

.member-result-detail:last-child
{
    margin-bottom: 0;
}

.member-result-detail > span
{
    display: block;
    margin-bottom: 3px;
    color: #8B8B8B;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.member-result-detail strong
{
    display: block;
    color: #4A4A4A;
    font-size: 12px;
    font-weight: 600;
    word-break: break-word;
}

.member-result-location strong
{
    color: #666;
}


/* ---------------------------------------------------------
   CARD ACTION
   --------------------------------------------------------- */

.member-result-actions
{
    padding: 13px 18px;
    text-align: right;
    border-top: 1px solid #E9ECEF;
    background: #FCFCFC;
}

.member-profile-button
{
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 6px;
    background: #EAF2FB;
    color: #1565C0 !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.member-profile-button:hover
{
    background: #1565C0;
    color: #FFFFFF !important;
}


/* ---------------------------------------------------------
   EMPTY
   --------------------------------------------------------- */

.member-search-empty
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 150px;
    padding: 25px;
    background: #FFFFFF;
    border: 1px dashed #CCD3DA;
    border-radius: 10px;
    color: #777;
}

.member-search-empty-icon
{
    font-size: 25px;
}

.member-search-empty strong
{
    color: #444;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1000px)
{

    .member-search-filter-grid
    {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .member-result-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px)
{

    .member-search-filter-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 9px;
    }


    .member-search-actions
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .member-search-actions .profile-save-button
    {
        min-width: 0;
        width: 100%;
    }


    .member-search-results-header
    {
        align-items: flex-start;
    }


    .member-result-grid
    {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 420px)
{

    .member-search-results-header
    {
        flex-direction: column;
        gap: 9px;
    }

}

/* =========================================================
   COMPLETE PROFILE - MEMBER DASHBOARD
   ========================================================= */

.complete-profile-page
{
    width: 96%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 24px 0 40px;
}


/* ---------------------------------------------------------
   WELCOME
   --------------------------------------------------------- */

.complete-profile-welcome
{
    margin-bottom: 22px;
}

.complete-profile-welcome h2
{
    margin-bottom: 4px;
    color: #252525;
    font-size: 26px;
    font-weight: 700;
}

.complete-profile-welcome p
{
    font-size: 14px;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.complete-profile-layout
{
    display: grid; /*        Main profile area gets most of the width.        Summary remains compact.     */
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 22px;
    align-items: start;
}

.complete-profile-main
{
    min-width: 0;
}


/* ---------------------------------------------------------
   INTRODUCTION
   Fixes the spacing issue below the description.
   --------------------------------------------------------- */

.complete-profile-intro
{
    margin-bottom: 26px !important;
}

.complete-profile-intro h4
{
    margin: 0 0 5px;
    color: #303030;
    font-size: 18px;
    font-weight: 700;
}

.complete-profile-intro p
{
    margin: 0 !important;
    color: #6C757D;
    font-size: 14px;
}


/* =========================================================
   OCCUPATION GRID
   ========================================================= */

.occupation-grid
{
    display: grid; /*        LARGE SCREEN:        Four occupation types in one row.     */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.occupation-grid-item
{
    min-width: 0;
}


/* ---------------------------------------------------------
   OCCUPATION CARD
   --------------------------------------------------------- */

.occupation-card
{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 180px;
    padding: 18px 15px;
    background: #FFFFFF;
    border: 1px solid #DFE3E7;
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .055);
    color: inherit;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.occupation-card:hover
{
    transform: translateY(-4px);
    border-color: #B8CEE6;
    box-shadow: 0 8px 21px rgba(0, 0, 0, .085);
}


/* ---------------------------------------------------------
   OCCUPATION ICON
   --------------------------------------------------------- */

.occupation-icon
{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    background: #F3F6F9;
    border-radius: 11px;
    font-size: 25px;
}


/* ---------------------------------------------------------
   OCCUPATION CONTENT
   --------------------------------------------------------- */

.occupation-content
{
    min-width: 0;
    padding-right: 14px;
}

.occupation-content h5
{
    margin: 0 0 6px;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
}

.occupation-content p
{
    margin: 0;
    color: #56709B;
    font-size: 11px;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   ARROW
   --------------------------------------------------------- */

.occupation-arrow
{
    position: absolute;
    right: 13px;
    bottom: 12px;
    color: #AAAAAA;
    font-size: 19px;
    transition: transform .2s ease, color .2s ease;
}

.occupation-card:hover .occupation-arrow
{
    transform: translateX(4px);
    color: #1565C0;
}


/* =========================================================
   FIND MEMBERS
   ========================================================= */

.complete-profile-search
{
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #EEF0F2;
    text-align: center;
}

.complete-profile-search-text
{
    margin-bottom: 9px;
    color: #555;
    font-size: 12px;
    font-weight: 500;
}

.btn-find-members
{
    min-width: 245px;
    padding: 10px 22px;
    background: #FFFFFF;
    border: 1px solid #1565C0;
    border-radius: 50px;
    color: #1565C0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn-find-members:hover
{
    background: #1565C0;
    color: #FFFFFF;
    box-shadow: 0 5px 14px rgba(21, 101, 192, .20);
}


/* ---------------------------------------------------------
   COMPLETE LATER
   --------------------------------------------------------- */

.complete-profile-skip
{
    margin-top: 11px;
}

.complete-profile-skip .btn-link
{
    font-size: 12px;
    text-decoration: none;
}

.complete-profile-skip .btn-link:hover
{
    text-decoration: underline;
}


/* =========================================================
   PROFILE SUMMARY CARD
   ========================================================= */

.member-summary-card
{
    position: sticky;
    top: 18px;
    min-width: 0;
    padding: 18px;
    background: #FFFFFF;
    border: 1px solid #E0E5EA;
    border-radius: 14px;
    box-shadow: 0 6px 19px rgba(0, 0, 0, .065);
}


/* ---------------------------------------------------------
   SUMMARY HEADING
   --------------------------------------------------------- */

.member-summary-heading
{
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E9ECEF;
}

.member-summary-caption
{
    display: block;
    margin-bottom: 2px;
    color: #1565C0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.member-summary-heading h3
{
    margin: 0;
    color: #292929;
    font-size: 16px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   MEMBER IDENTITY
   --------------------------------------------------------- */

.member-summary-person
{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.member-summary-avatar
{
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(             135deg,             #1565C0,             #0D47A1         );
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}

.member-summary-person-info
{
    min-width: 0;
}

.member-summary-person-info strong
{
    display: block;
    overflow: hidden;
    color: #303030;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-summary-person-info span
{
    display: block;
    margin-top: 2px;
    color: #8A8A8A;
    font-size: 9px;
}


/* ---------------------------------------------------------
   PROFESSION / ORGANIZATION
   --------------------------------------------------------- */

.member-summary-info
{
    padding: 12px;
    background: #FAFBFC;
    border: 1px solid #EDF0F2;
    border-radius: 8px;
}

.member-summary-info-item
{
    margin-bottom: 10px;
}

.member-summary-info-item:last-child
{
    margin-bottom: 0;
}

.member-summary-info-item span
{
    display: block;
    margin-bottom: 2px;
    color: #939393;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.member-summary-info-item strong
{
    display: block;
    color: #454545;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}


/* =========================================================
   SUMMARY COUNTS
   ========================================================= */

.member-summary-counts
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 14px 0;
}

.member-summary-count-item
{
    min-width: 0;
    padding: 9px 5px;
    background: #F7F9FB;
    border: 1px solid #E4E8EC;
    border-radius: 8px;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.member-summary-count-item:hover
{
    transform: translateY(-2px);
    background: #EEF5FC;
    border-color: #BDD1E8;
}

.member-summary-count-item strong
{
    display: block;
    color: #1565C0;
    font-size: 17px;
    font-weight: 700;
}

.member-summary-count-item span
{
    display: block;
    margin-top: 1px;
    color: #777;
    font-size: 8px;
}


/* =========================================================
   VIEW PROFILE BUTTON
   ========================================================= */

.member-summary-actions
{
    padding-top: 2px;
}

.member-summary-profile-button
{
    width: 100%;
    padding: 9px 10px;
    background: #1565C0;
    border: 1px solid #1565C0;
    border-radius: 50px;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 650;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease;
}

.member-summary-profile-button:hover
{
    background: #0D47A1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, .20);
}


/* =========================================================
   MEDIUM / TABLET
   ========================================================= */

@media screen and (max-width: 1100px)
{

    /*
           At this width four cards become unnecessarily narrow.
           Switch occupation cards to 2 x 2.
        */

    .occupation-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 750px)
{

    .complete-profile-page
    {
        width: 94%;
        padding-top: 16px;
    }


    /*
           Summary comes FIRST on mobile.
        */

    .complete-profile-layout
    {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .member-summary-card
    {
        position: static;
        order: 1;
        width: 100%;
    }

    .complete-profile-main
    {
        order: 2;
        width: 100%;
    }


    /*
           Four summary counts can fit in one row.
        */

    .member-summary-counts
    {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }


    /*
           Occupations remain 2 x 2.
        */

    .occupation-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .occupation-card
    {
        min-height: 160px;
        padding: 14px 11px;
    }

    .occupation-icon
    {
        width: 43px;
        height: 43px;
        margin-bottom: 10px;
        font-size: 22px;
    }

    .occupation-content
    {
        padding-right: 5px;
    }

    .occupation-content h5
    {
        font-size: 13px;
    }

    .occupation-content p
    {
        font-size: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 430px)
{

    .complete-profile-welcome h2
    {
        font-size: 21px;
    }

    .member-summary-card
    {
        padding: 15px;
    }

    /*
           Counts 2 x 2 on very narrow phones.
        */

    .member-summary-counts
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* =========================================================
   COMPLETE PROFILE - MAIN CONTENT CARD
   ========================================================= */

.complete-profile-main-card
{
    min-height: 100%;
    padding: 25px 22px 22px;
    background: #FFFFFF;
    border: 1px solid #E0E5EA;
    border-radius: 14px;
    box-shadow: 0 6px 19px rgba(0, 0, 0, .065);
}


/* =========================================================
   PRAJAPATI CONNECT INDIA
   PUBLIC PORTAL - CLIENT THEME
   ========================================================= */

:root
{
    --pci-maroon: #761126;
    --pci-maroon-dark: #540818;
    --pci-maroon-light: #971A38;

    --pci-gold: #C78A1E;
    --pci-gold-light: #E5BB59;

    --pci-green: #4B7D27;

    --pci-cream: #FFF9F1;
    --pci-warm-white: #FFFCF8;

    --pci-text: #332B2B;
    --pci-muted: #766D68;

    --pci-border: #E8DDD2;
}


/* =========================================================
   PUBLIC HEADER
   ========================================================= */

.public-header
{
    background: #FFFFFF;

    color: var(--pci-text);

    padding: 12px 0;

    border-top: 3px solid var(--pci-maroon);

    box-shadow:
        0 2px 8px rgba(70, 20, 30, .06);
}


.public-header .header-row
{
    min-height: 82px;

    gap: 25px;
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.public-brand
{
    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    text-decoration: none !important;
}


.public-brand-logo
{
    width: 150px;

    height: 72px;

    object-fit: contain;
}


.public-brand-text
{
    line-height: 1;
}


.public-brand-name
{
    color: var(--pci-maroon-dark);

    font-size: 28px;

    font-weight: 800;

    letter-spacing: .5px;
}


.public-brand-connect
{
    margin-top: 3px;

    color: var(--pci-green);

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 1.1px;
}


.public-brand-tagline
{
    margin-top: 7px;

    color: #5F5550;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   HEADER SEARCH
   ========================================================= */

.public-header-search
{
    position: relative;

    width: 310px;

    margin-left: auto;
}


.public-search-input
{
    width: 100%;

    height: 42px;

    padding: 8px 38px 8px 14px;

    background: #FFFFFF;

    border: 1px solid #DDD3CF;

    border-radius: 7px;

    color: #4D4440;

    font-size: 11px;
}


.public-search-input:focus
{
    border-color: var(--pci-maroon);

    outline: none;

    box-shadow:
        0 0 0 3px rgba(118,17,38,.07);
}


.public-search-icon
{
    position: absolute;

    right: 13px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 13px;

    pointer-events: none;
}


/* =========================================================
   LOGIN
   ========================================================= */

.public-login-button
{
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 90px;

    min-height: 40px;

    padding: 8px 18px;

    background: #FFFFFF;

    border: 1px solid var(--pci-maroon);

    border-radius: 6px;

    color: var(--pci-maroon) !important;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none !important;
}


.public-login-button:hover
{
    background: var(--pci-maroon);

    color: #FFFFFF !important;
}


.public-member-menu
{
    gap: 13px;
}


.public-member-name
{
    color: var(--pci-maroon);

    font-size: 12px;

    font-weight: 700;
}


.public-logout-link
{
    color: var(--pci-maroon) !important;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   PUBLIC NAVIGATION
   ========================================================= */

.navigation
{
    background: #FFFFFF;

    border-top: 1px solid #EEE6E1;

    border-bottom: 1px solid #E7DDD6;

    box-shadow:
        0 2px 5px rgba(0,0,0,.035);
}


.navigation ul
{
    justify-content: center;
}


.navigation li a
{
    position: relative;

    padding: 13px 22px;

    color: #2F2928;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}


.navigation li a:hover
{
    background: #FFF7F4;

    color: var(--pci-maroon);

    text-decoration: none;
}


.navigation li a:hover::after
{
    content: "";

    position: absolute;

    left: 18px;

    right: 18px;

    bottom: 0;

    height: 2px;

    background: var(--pci-maroon);
}


/* =========================================================
   HOME HERO
   ========================================================= */

.home-hero
{
    /*
       MainContent is currently inside Site.Master's
       .container.

       This makes only the HERO break out to browser width
       without disturbing existing Member pages.
    */

    width: 100vw;

    position: relative;

    left: 50%;

    margin-left: -50vw;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-image:
        url('../Images/home-hero.png');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;
}


/*
   Very soft light protection behind the centre text.
   This is NOT the heavy blue overlay used previously.
*/

.home-hero::before
{
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,250,240,.05) 0%,
            rgba(255,250,240,.18) 32%,
            rgba(255,250,240,.50) 50%,
            rgba(255,250,240,.18) 68%,
            rgba(255,250,240,.04) 100%
        );
}


.home-hero-content
{
    position: relative;

    z-index: 2;

    width: 390px;

    margin: 0 auto;

    text-align: left;

    transform: translateX(-5px);
}


/* ---------------------------------------------------------
   HERO TITLE
   --------------------------------------------------------- */

.home-hero h1
{
    margin: 0;

    color: var(--pci-maroon-dark);

    font-size: 30px;

    line-height: .95;

    font-weight: 800;

    letter-spacing: 1px;
}


.home-hero h1 span
{
    display: block;
}


/* ---------------------------------------------------------
   HERO MESSAGE
   --------------------------------------------------------- */

.home-hero-message
{
    margin-top: 20px;
}


.home-hero-message strong
{
    display: block;

    margin-bottom: 2px;

    color: #322C29;

    font-size: 15px;

    font-weight: 700;
}


.home-hero-message strong span
{
    color: var(--pci-maroon);
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */

.home-hero-divider
{
    width: 170px;

    margin: 15px auto 14px;

    color: var(--pci-maroon);

    text-align: center;

    font-size: 9px;

    position: relative;
}


.home-hero-divider::before,
.home-hero-divider::after
{
    content: "";

    position: absolute;

    top: 50%;

    width: 68px;

    height: 1px;

    background: #B78673;
}


.home-hero-divider::before
{
    left: 0;
}


.home-hero-divider::after
{
    right: 0;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.home-hero-description
{
    margin: 0;

    color: #48413D;

    font-size: 11px;

    line-height: 1.65;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.home-hero-buttons
{
    display: flex;

    gap: 10px;

    margin-top: 18px;
}


.home-hero-primary,
.home-hero-secondary
{
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 39px;

    padding: 8px 16px;

    border-radius: 6px;

    font-size: 10px;

    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;
}


.home-hero-primary
{
    background: var(--pci-maroon);

    border: 1px solid var(--pci-maroon);

    color: #FFFFFF !important;
}


.home-hero-primary:hover
{
    background: var(--pci-maroon-dark);
}


.home-hero-secondary
{
    background: rgba(255,255,255,.88);

    border: 1px solid var(--pci-maroon);

    color: var(--pci-maroon) !important;
}


.home-hero-secondary:hover
{
    background: #FFFFFF;
}


/* =========================================================
   HOME PAGE SPACING
   ========================================================= */

.page-content
{
    padding-top: 20px;
}


/* =========================================================
   TABLET HEADER
   ========================================================= */

@media screen and (max-width: 950px)
{

    .public-header-search
    {
        display: none;
    }


    .home-hero
    {
        min-height: 390px;
    }


    .home-hero-content
    {
        width: 340px;
    }


    .home-hero h1
    {
        font-size: 42px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 768px)
{

    .public-header
    {
        padding: 8px 0;
    }


    .public-header .header-row
    {
        flex-direction: row;

        min-height: 62px;

        text-align: left;
    }


    .public-brand-logo
    {
        width: 52px;

        height: 52px;
    }


    .public-brand-name
    {
        font-size: 20px;
    }


    .public-brand-connect
    {
        font-size: 14px;
    }


    .public-brand-tagline
    {
        display: none;
    }


    .header-right
    {
        margin-top: 0;
    }


    .navigation
    {
        background: var(--pci-maroon);
    }


    .mobile-menu
    {
        padding: 11px;

        text-align: left;
    }


    .mobile-menu a
    {
        color: #FFFFFF;

        font-size: 13px;

        text-decoration: none;
    }


    .navigation ul li a
    {
        color: #FFFFFF;

        border-top:
            1px solid rgba(255,255,255,.13);
    }


    .navigation li a:hover
    {
        background:
            rgba(255,255,255,.10);

        color: #FFFFFF;
    }


    /*
       Keep the image visible rather than replacing it
       with a plain colour on mobile.
    */

    .home-hero
    {
        min-height: 430px;

        background-position: center;
    }


    .home-hero::before
    {
        background:
            rgba(255,250,242,.58);
    }


    .home-hero-content
    {
        width: 82%;

        max-width: 360px;

        margin: auto;

        text-align: center;

        transform: none;
    }


    .home-hero h1
    {
        font-size: 38px;
    }


    .home-hero-message strong
    {
        font-size: 13px;
    }


    .home-hero-description
    {
        font-size: 10px;
    }


    .home-hero-buttons
    {
        justify-content: center;

        flex-wrap: wrap;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media screen and (max-width: 440px)
{

    .public-brand-connect
    {
        font-size: 12px;
    }


    .public-login-button
    {
        min-width: 70px;

        padding: 6px 10px;

        font-size: 10px;
    }


    .home-hero
    {
        min-height: 400px;
    }


    .home-hero h1
    {
        font-size: 32px;
    }


    .home-hero-primary,
    .home-hero-secondary
    {
        width: 100%;
    }

}

/* Remove top gap before homepage hero */
.page-content:has(.home-hero)
{
    padding-top: 20;
}

.home-hero-no-gap
{
    margin-top: -20px;
}

/* =========================================================
   HOME PAGE - WHAT WE OFFER
   SIX COMPACT CARDS
   ========================================================= */

.home-offer-section
{
    /*
       Homepage sections currently live inside the Site.Master
       container, so break this section out to full width.
    */

    position: relative;

    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    padding: 42px 0 48px;

    background:
        linear-gradient(
            180deg,
            #FFFDF9 0%,
            #FFF9F2 100%
        );

    border-top: 1px solid #F0E6DC;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.home-offer-heading
{
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 26px;
}


.home-offer-heading h2
{
    margin: 0;

    color: var(--pci-maroon-dark);

    font-size: 22px;

    font-weight: 800;

    letter-spacing: .3px;
}


.home-heading-line
{
    position: relative;

    width: 42px;

    height: 1px;

    background: var(--pci-maroon);
}


.home-heading-line:first-child::after
{
    content: "";

    position: absolute;

    right: -2px;
    top: -2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--pci-maroon);
}


.home-heading-line:last-child::before
{
    content: "";

    position: absolute;

    left: -2px;
    top: -2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--pci-maroon);
}


/* =========================================================
   SIX-COLUMN GRID
   ========================================================= */

.home-offer-grid
{
    display: grid;

    /*
       LARGE DESKTOP:
       exactly SIX cards in one row
    */

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}


/* =========================================================
   OFFER CARD
   ========================================================= */

.home-offer-card
{
    min-width: 0;

    min-height: 205px;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 16px 10px 13px;

    background:
        rgba(255,255,255,.90);

    border: 1px solid #E9DED5;

    border-radius: 7px;

    color: var(--pci-text);

    text-align: center;

    text-decoration: none !important;

    box-shadow:
        0 2px 8px rgba(80,25,35,.035);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.home-offer-card:hover
{
    transform: translateY(-4px);

    border-color: #D5B8AD;

    box-shadow:
        0 8px 20px rgba(83,19,35,.09);

    text-decoration: none;
}


/* =========================================================
   ICON
   ========================================================= */

.home-offer-icon
{
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border-radius: 50%;

    color: #FFFFFF;

    font-size: 27px;

    box-shadow:
        0 4px 10px rgba(0,0,0,.10);
}


.home-offer-icon span
{
    line-height: 1;
}


/* =========================================================
   ICON COLORS
   ========================================================= */

.offer-green
{
    background: #4D7D24;
}


.offer-maroon
{
    background: var(--pci-maroon);
}


.offer-blue
{
    background: #244A86;
}


.offer-orange
{
    background: #E77800;
}


.offer-purple
{
    background: #641D73;
}


.offer-gold
{
    background: #B97808;
}


/* =========================================================
   TITLE COLORS
   ========================================================= */

.home-offer-card h3
{
    min-height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 0 7px;

    font-size: 11px;

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: .1px;
}


.offer-green-text
{
    color: #47751F;
}


.offer-maroon-text
{
    color: var(--pci-maroon);
}


.offer-blue-text
{
    color: #244A86;
}


.offer-orange-text
{
    color: #D86800;
}


.offer-purple-text
{
    color: #641D73;
}


.offer-gold-text
{
    color: #A96C08;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.home-offer-card p
{
    flex: 1;

    margin: 0;

    color: #514A46;

    font-size: 9px;

    line-height: 1.55;
}


/* =========================================================
   EXPLORE LINK
   ========================================================= */

.home-offer-link
{
    display: block;

    margin-top: 11px;

    color: var(--pci-maroon);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .25px;
}


.home-offer-card:hover .home-offer-link
{
    color: var(--pci-maroon-dark);
}


/* =========================================================
   MEDIUM DESKTOP / TABLET
   ========================================================= */

@media screen and (max-width: 1050px)
{

    /*
       Three across
    */

    .home-offer-grid
    {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 13px;
    }


    .home-offer-card
    {
        min-height: 190px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px)
{

    .home-offer-section
    {
        padding: 32px 0 36px;
    }


    .home-offer-heading
    {
        margin-bottom: 20px;

        gap: 12px;
    }


    .home-offer-heading h2
    {
        font-size: 18px;
    }


    .home-heading-line
    {
        width: 27px;
    }


    /*
       TWO cards in one row.
    */

    .home-offer-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .home-offer-card
    {
        min-height: 185px;

        padding: 14px 8px 11px;
    }


    .home-offer-icon
    {
        width: 49px;
        height: 49px;

        margin-bottom: 10px;

        font-size: 22px;
    }


    .home-offer-card h3
    {
        min-height: 28px;

        margin-bottom: 6px;

        font-size: 10px;
    }


    .home-offer-card p
    {
        font-size: 8px;

        line-height: 1.5;
    }


    .home-offer-link
    {
        margin-top: 8px;

        font-size: 7px;
    }

}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media screen and (max-width: 360px)
{

    .home-offer-grid
    {
        gap: 7px;
    }


    .home-offer-card
    {
        min-height: 180px;

        padding-left: 6px;
        padding-right: 6px;
    }


    .home-offer-card p
    {
        font-size: 7.5px;
    }

}

/* =========================================================
   HOME PAGE - QUICK ACCESS
   ========================================================= */

.home-quick-section
{
    position: relative;

    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    padding: 30px 0 40px;

    background: #FFFFFF;

    border-top: 1px solid #F0E6DC;
}


/* ---------------------------------------------------------
   HEADING
   --------------------------------------------------------- */

.home-quick-heading
{
    margin-bottom: 18px;

    text-align: center;
}

.home-quick-heading span
{
    display: block;

    margin-bottom: 3px;

    color: var(--pci-gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.home-quick-heading h2
{
    margin: 0;

    color: var(--pci-maroon-dark);

    font-size: 20px;

    font-weight: 800;
}


/* =========================================================
   GRID
   ========================================================= */

.home-quick-grid
{
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}


/* =========================================================
   CARD
   ========================================================= */

.home-quick-card
{
    position: relative;

    min-width: 0;

    min-height: 90px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 38px 14px 14px;

    background: #FFFDFC;

    border: 1px solid var(--pci-border);

    border-radius: 9px;

    color: var(--pci-text);

    text-decoration: none !important;

    box-shadow:
        0 3px 10px rgba(90,30,40,.035);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.home-quick-card:hover
{
    transform: translateY(-3px);

    border-color: #D7B9AE;

    box-shadow:
        0 7px 17px rgba(90,30,40,.08);

    text-decoration: none;
}


/* ---------------------------------------------------------
   PRIMARY - BECOME A MEMBER
   --------------------------------------------------------- */

.home-quick-primary
{
    background:
        linear-gradient(
            135deg,
            var(--pci-maroon),
            var(--pci-maroon-dark)
        );

    border-color: var(--pci-maroon);

    color: #FFFFFF;
}

.home-quick-primary .home-quick-content strong,
.home-quick-primary .home-quick-content span,
.home-quick-primary .home-quick-arrow
{
    color: #FFFFFF;
}


/* =========================================================
   ICON
   ========================================================= */

.home-quick-icon
{
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #F4E8E4;

    color: var(--pci-maroon);

    font-size: 21px;
}

.home-quick-primary .home-quick-icon
{
    background:
        rgba(255,255,255,.16);

    color: #FFFFFF;
}

.quick-gallery
{
    background: #EAF1FB;
}

.quick-matrimony
{
    background: #F7EAF5;
}

.quick-donate
{
    background: #FCEAEA;
}


/* =========================================================
   CONTENT
   ========================================================= */

.home-quick-content
{
    min-width: 0;

    flex: 1;
}

.home-quick-content strong
{
    display: block;

    margin-bottom: 3px;

    color: var(--pci-maroon-dark);

    font-size: 12px;

    font-weight: 750;
}

.home-quick-content span
{
    display: block;

    color: #7B706A;

    font-size: 9px;

    line-height: 1.35;
}


/* =========================================================
   ARROW
   ========================================================= */

.home-quick-arrow
{
    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: #B29A91;

    font-size: 18px;

    transition:
        transform .2s ease,
        color .2s ease;
}

.home-quick-card:hover .home-quick-arrow
{
    transform:
        translate(3px, -50%);

    color: var(--pci-maroon);
}

.home-quick-primary:hover .home-quick-arrow
{
    color: var(--pci-gold-light);
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px)
{
    .home-quick-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px)
{
    .home-quick-section
    {
        padding: 26px 0 32px;
    }

    .home-quick-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .home-quick-card
    {
        min-height: 100px;

        padding: 12px 28px 12px 10px;

        align-items: flex-start;
    }

    .home-quick-icon
    {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 18px;
    }

    .home-quick-content strong
    {
        font-size: 10px;
    }

    .home-quick-content span
    {
        font-size: 8px;
    }

    .home-quick-arrow
    {
        right: 9px;

        font-size: 15px;
    }
}

/* =========================================================
   HOME - FIND YOUR COMMUNITY
   ========================================================= */

.home-find-section
{
    position: relative;

    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    padding: 34px 0 38px;

    background:
        linear-gradient(
            135deg,
            #6B0C20,
            #85152D
        );
}


/* =========================================================
   MAIN BOX
   ========================================================= */

.home-find-box
{
    max-width: 1050px;

    margin: 0 auto;

    padding: 25px 30px;

    background:
        rgba(255,255,255,.98);

    border: 1px solid
        rgba(199,138,30,.45);

    border-radius: 12px;

    box-shadow:
        0 12px 30px
        rgba(50,10,20,.20);
}


/* =========================================================
   INTRO
   ========================================================= */

.home-find-intro
{
    margin-bottom: 18px;

    text-align: center;
}


.home-find-intro > span
{
    display: block;

    margin-bottom: 3px;

    color: var(--pci-gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;
}


.home-find-intro h2
{
    margin: 0;

    color: var(--pci-maroon-dark);

    font-size: 24px;

    font-weight: 800;
}


.home-find-intro p
{
    margin: 5px 0 0;

    color: #716762;

    font-size: 11px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.home-find-search
{
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        165px;

    gap: 9px;

    max-width: 760px;

    margin: 0 auto;
}


.home-find-input-wrapper
{
    position: relative;
}


.home-find-search-icon
{
    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 13px;

    pointer-events: none;
}


.home-find-input
{
    width: 100% !important;

    height: 44px;

    padding:
        8px 12px 8px 40px !important;

    background: #FFFDFC;

    border:
        1px solid #DCCFC7 !important;

    border-radius: 7px !important;

    color: #403936;

    font-size: 11px !important;
}


.home-find-input:focus
{
    border-color:
        var(--pci-maroon) !important;

    outline: none;

    box-shadow:
        0 0 0 3px
        rgba(118,17,38,.08);
}


.home-find-button
{
    min-height: 44px;

    padding: 8px 15px;

    background:
        var(--pci-maroon);

    border:
        1px solid var(--pci-maroon);

    border-radius: 7px;

    color: #FFFFFF;

    font-size: 10px;

    font-weight: 750;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.home-find-button:hover
{
    background:
        var(--pci-maroon-dark);

    transform:
        translateY(-1px);
}


/* =========================================================
   SUGGESTIONS
   ========================================================= */

.home-find-suggestions
{
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 11px;
}


.home-find-suggestions > span
{
    color: #92847E;

    font-size: 8px;

    font-weight: 600;
}


.home-find-suggestions a
{
    padding: 3px 8px;

    background: #FFF6ED;

    border: 1px solid #EADBCB;

    border-radius: 20px;

    color:
        var(--pci-maroon);

    font-size: 8px;

    font-weight: 650;

    text-decoration: none;
}


.home-find-suggestions a:hover
{
    background:
        var(--pci-maroon);

    border-color:
        var(--pci-maroon);

    color: #FFFFFF;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 650px)
{

    .home-find-section
    {
        padding: 25px 0;
    }


    .home-find-box
    {
        padding: 20px 14px;
    }


    .home-find-intro h2
    {
        font-size: 20px;
    }


    .home-find-search
    {
        grid-template-columns: 1fr;
    }


    .home-find-button
    {
        width: 100%;
    }

}

/* =========================================================
   HOME PAGE - COMMUNITY STATS
   ========================================================= */

.home-stats-section
{
    position: relative;

    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    padding: 42px 0 46px;

    background:
        linear-gradient(
            135deg,
            var(--pci-maroon-dark),
            var(--pci-maroon)
        );

    color: #FFFFFF;
}


/* ---------------------------------------------------------
   HEADING
   --------------------------------------------------------- */

.home-stats-heading
{
    margin-bottom: 26px;

    text-align: center;
}


.home-stats-heading > span
{
    display: block;

    margin-bottom: 4px;

    color: var(--pci-gold-light);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;
}


.home-stats-heading h2
{
    margin: 0;

    color: #FFFFFF;

    font-size: 24px;

    font-weight: 800;
}


.home-stats-heading p
{
    max-width: 600px;

    margin: 6px auto 0;

    color:
        rgba(255,255,255,.78);

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   GRID
   ========================================================= */

.home-stats-grid
{
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    max-width: 900px;

    margin: 0 auto;
}


/* =========================================================
   CARD
   ========================================================= */

.home-stat-card
{
    min-height: 135px;

    padding: 18px 12px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.15);

    border-radius: 10px;

    text-align: center;

    backdrop-filter:
        blur(3px);

    transition:
        transform .2s ease,
        background .2s ease;
}


.home-stat-card:hover
{
    transform:
        translateY(-3px);

    background:
        rgba(255,255,255,.12);
}


/* =========================================================
   ICON
   ========================================================= */

.home-stat-icon
{
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 9px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.12);

    color: var(--pci-gold-light);

    font-size: 19px;
}


/* =========================================================
   NUMBER
   ========================================================= */

.home-stat-card strong
{
    display: block;

    color: #FFFFFF;

    font-size: 30px;

    line-height: 1;

    font-weight: 800;
}


/* =========================================================
   LABEL
   ========================================================= */

.home-stat-card span
{
    display: block;

    margin-top: 6px;

    color:
        rgba(255,255,255,.82);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .4px;

    text-transform: uppercase;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 750px)
{
    .home-stats-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .home-stat-card
    {
        min-height: 120px;
    }

    .home-stat-card strong
    {
        font-size: 26px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 420px)
{
    .home-stats-section
    {
        padding: 32px 0 36px;
    }

    .home-stats-heading h2
    {
        font-size: 20px;
    }

    .home-stat-card
    {
        min-height: 110px;

        padding: 14px 8px;
    }

    .home-stat-icon
    {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }

    .home-stat-card strong
    {
        font-size: 23px;
    }

    .home-stat-card span
    {
        font-size: 8px;
    }
}

/* =========================================================
   HOME PAGE - ABOUT SECTION
   ========================================================= */

.home-about-section
{
    position: relative;

    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    padding: 62px 0;

    background:
        linear-gradient(
            180deg,
            #FFFDFC 0%,
            #FFF8F0 100%
        );
}


/* =========================================================
   GRID
   ========================================================= */

.home-about-grid
{
    display: grid;

    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1.05fr);

    gap: 55px;

    align-items: center;

    max-width: 1080px;

    margin: 0 auto;
}


/* =========================================================
   IMAGE
   ========================================================= */

.home-about-image-wrap
{
    position: relative;
}


.home-about-image-frame
{
    position: relative;

    padding: 7px;

    background: #FFFFFF;

    border: 1px solid #E6D9CD;

    border-radius: 16px;

    box-shadow:
        0 15px 34px
        rgba(80,25,35,.12);
}


.home-about-image-frame::before
{
    content: "";

    position: absolute;

    left: -10px;
    top: 20px;

    width: 4px;
    height: 62%;

    border-radius: 4px;

    background:
        linear-gradient(
            180deg,
            var(--pci-gold),
            var(--pci-maroon)
        );
}


.home-about-image
{
    display: block;

    width: 100%;

    height: 340px;

    object-fit: cover;

    border-radius: 11px;
}


/* =========================================================
   IMAGE BADGE
   ========================================================= */

.home-about-image-badge
{
    position: absolute;

    right: -18px;
    bottom: -18px;

    min-width: 190px;

    padding: 12px 16px;

    background:
        var(--pci-maroon);

    border: 3px solid #FFF8F0;

    border-radius: 9px;

    color: #FFFFFF;

    box-shadow:
        0 8px 18px
        rgba(70,15,30,.18);
}


.home-about-image-badge strong
{
    display: block;

    color: var(--pci-gold-light);

    font-size: 11px;

    font-weight: 750;
}


.home-about-image-badge span
{
    display: block;

    margin-top: 2px;

    font-size: 9px;

    opacity: .9;
}


/* =========================================================
   CONTENT
   ========================================================= */

.home-about-content
{
    min-width: 0;
}


.home-about-tag
{
    display: block;

    margin-bottom: 8px;

    color: var(--pci-gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.7px;
}


.home-about-content h2
{
    max-width: 520px;

    margin: 0;

    color: #352C2A;

    font-size: 34px;

    line-height: 1.18;

    font-weight: 800;
}


.home-about-content h2 span
{
    color: var(--pci-maroon);
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */

.home-about-divider
{
    width: 75px;

    height: 3px;

    margin: 16px 0 19px;

    border-radius: 2px;

    background:
        linear-gradient(
            90deg,
            var(--pci-maroon),
            var(--pci-gold)
        );
}


/* =========================================================
   PARAGRAPHS
   ========================================================= */

.home-about-content p
{
    margin: 0 0 14px;

    color: #625854;

    font-size: 11px;

    line-height: 1.75;
}


/* =========================================================
   PURPOSE CARD
   ========================================================= */

.home-about-purpose
{
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

    padding: 13px 15px;

    background:
        rgba(255,255,255,.78);

    border:
        1px solid #E7D9CE;

    border-left:
        3px solid var(--pci-gold);

    border-radius: 8px;
}


.home-about-purpose-icon
{
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F8ECE8;

    border-radius: 50%;

    font-size: 18px;
}


.home-about-purpose strong
{
    display: block;

    margin-bottom: 2px;

    color: var(--pci-maroon);

    font-size: 10px;

    font-weight: 750;
}


.home-about-purpose span
{
    display: block;

    color: #716762;

    font-size: 9px;

    line-height: 1.45;
}


/* =========================================================
   BUTTON
   ========================================================= */

.home-about-button
{
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 20px;

    padding: 10px 18px;

    background:
        var(--pci-maroon);

    border:
        1px solid var(--pci-maroon);

    border-radius: 6px;

    color: #FFFFFF !important;

    font-size: 10px;

    font-weight: 700;

    text-decoration: none !important;

    transition:
        background .2s ease,
        transform .2s ease;
}


.home-about-button:hover
{
    background:
        var(--pci-maroon-dark);

    transform:
        translateY(-1px);
}


.home-about-button span
{
    font-size: 14px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px)
{

    .home-about-grid
    {
        gap: 35px;
    }


    .home-about-content h2
    {
        font-size: 29px;
    }


    .home-about-image
    {
        height: 300px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 700px)
{

    .home-about-section
    {
        padding: 42px 0 48px;
    }


    .home-about-grid
    {
        grid-template-columns: 1fr;

        gap: 38px;
    }


    .home-about-image-frame
    {
        max-width: 480px;

        margin: 0 auto;
    }


    .home-about-image
    {
        height: 270px;
    }


    .home-about-image-badge
    {
        right: 10px;

        bottom: -18px;
    }


    .home-about-content
    {
        text-align: center;
    }


    .home-about-content h2
    {
        max-width: 520px;

        margin-left: auto;
        margin-right: auto;

        font-size: 26px;
    }


    .home-about-divider
    {
        margin-left: auto;
        margin-right: auto;
    }


    .home-about-purpose
    {
        text-align: left;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 420px)
{

    .home-about-image
    {
        height: 230px;
    }


    .home-about-image-badge
    {
        min-width: 165px;

        padding: 10px 12px;
    }


    .home-about-content h2
    {
        font-size: 23px;
    }

}

/* =========================================================
   HOME PAGE - COMMUNITY GALLERY
   ========================================================= */

.home-gallery-section
{
    position: relative;
    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    padding: 55px 0 58px;

    background: #FFFDFC;
}


/* ---------------------------------------------------------
   HEADING
   --------------------------------------------------------- */

.home-gallery-heading
{
    margin-bottom: 26px;

    text-align: center;
}

.home-gallery-heading > span
{
    display: block;

    margin-bottom: 4px;

    color: var(--pci-gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.home-gallery-heading h2
{
    margin: 0;

    color: var(--pci-maroon-dark);

    font-size: 26px;
    font-weight: 800;
}

.home-gallery-heading p
{
    max-width: 560px;

    margin: 6px auto 0;

    color: #746A65;

    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   GRID
   ========================================================= */

.home-gallery-grid
{
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    grid-auto-rows: 150px;

    gap: 10px;
}


/* ---------------------------------------------------------
   ITEMS
   --------------------------------------------------------- */

.home-gallery-item
{
    position: relative;

    min-width: 0;

    overflow: hidden;

    border-radius: 9px;

    background: #EEE;

    box-shadow:
        0 4px 12px rgba(60,20,30,.08);
}

.home-gallery-item img
{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease,
        filter .35s ease;
}

.home-gallery-item::after
{
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(65,10,25,.18)
        );

    pointer-events: none;
}

.home-gallery-item:hover img
{
    transform: scale(1.05);

    filter: saturate(1.05);
}


/* ---------------------------------------------------------
   SPECIAL SIZES
   --------------------------------------------------------- */

.home-gallery-large
{
    grid-column: span 2;
    grid-row: span 2;
}

.home-gallery-wide
{
    grid-column: span 2;
}


/* =========================================================
   BUTTON
   ========================================================= */

.home-gallery-action
{
    margin-top: 24px;

    text-align: center;
}

.home-gallery-button
{
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 10px 20px;

    background: #FFFFFF;

    border: 1px solid var(--pci-maroon);

    border-radius: 50px;

    color: var(--pci-maroon) !important;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.home-gallery-button:hover
{
    background: var(--pci-maroon);

    color: #FFFFFF !important;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 850px)
{
    .home-gallery-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-auto-rows: 160px;
    }

    .home-gallery-large
    {
        grid-column: span 2;
    }

    .home-gallery-wide
    {
        grid-column: span 2;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 520px)
{
    .home-gallery-section
    {
        padding: 40px 0 44px;
    }

    .home-gallery-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-auto-rows: 115px;

        gap: 7px;
    }

    .home-gallery-large
    {
        grid-column: span 2;
        grid-row: span 2;
    }

    .home-gallery-wide
    {
        grid-column: span 2;
    }

    .home-gallery-heading h2
    {
        font-size: 21px;
    }
}

/* =========================================================
   HOME PAGE - CTA
   ========================================================= */

.home-cta-section
{
    position: relative;

    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    padding: 58px 0;

    background:
        linear-gradient(
            135deg,
            var(--pci-maroon-dark),
            var(--pci-maroon)
        );

    overflow: hidden;
}


/* Decorative glow */

.home-cta-section::before
{
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -100px;
    top: -130px;

    border-radius: 50%;

    background:
        rgba(229,187,89,.08);
}

.home-cta-section::after
{
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -90px;
    bottom: -120px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.04);
}


/* =========================================================
   CONTENT
   ========================================================= */

.home-cta-inner
{
    position: relative;

    z-index: 2;

    max-width: 700px;

    margin: 0 auto;

    text-align: center;
}


.home-cta-symbol
{
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 12px;

    background:
        rgba(255,255,255,.10);

    border:
        1px solid rgba(255,255,255,.18);

    border-radius: 50%;

    font-size: 22px;
}


.home-cta-tag
{
    display: block;

    margin-bottom: 7px;

    color: var(--pci-gold-light);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.7px;
}


.home-cta-inner h2
{
    margin: 0;

    color: #FFFFFF;

    font-size: 31px;

    line-height: 1.2;

    font-weight: 800;
}

.home-cta-inner h2 span
{
    color: var(--pci-gold-light);
}


.home-cta-inner p
{
    max-width: 560px;

    margin: 12px auto 0;

    color: rgba(255,255,255,.78);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.home-cta-actions
{
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 22px;
}


.home-cta-primary,
.home-cta-secondary
{
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 145px;

    min-height: 41px;

    padding: 9px 18px;

    border-radius: 50px;

    font-size: 10px;

    font-weight: 750;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        background .2s ease;
}


.home-cta-primary
{
    background: var(--pci-gold);

    border: 1px solid var(--pci-gold);

    color: var(--pci-maroon-dark) !important;
}


.home-cta-primary:hover
{
    background: var(--pci-gold-light);

    transform: translateY(-2px);
}


.home-cta-secondary
{
    background: transparent;

    border: 1px solid rgba(255,255,255,.65);

    color: #FFFFFF !important;
}


.home-cta-secondary:hover
{
    background: rgba(255,255,255,.10);

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 550px)
{
    .home-cta-section
    {
        padding: 45px 0;
    }

    .home-cta-inner h2
    {
        font-size: 24px;
    }

    .home-cta-actions
    {
        flex-direction: column;
    }

    .home-cta-primary,
    .home-cta-secondary
    {
        width: 100%;
        max-width: 280px;
    }
}

/* =========================================================
   PUBLIC FOOTER
   ========================================================= */

.public-footer
{
    position: relative;

    background:
        linear-gradient(
            105deg,
            #FFF9F2 0%,
            #FFF9F2 27%,
            #F5E8DF 27.2%,
            #761027 38%,
            #560A1A 55%,
            #450712 100%
        );
        
    color: rgba(255,255,255,.80);

    border-top: 3px solid var(--pci-gold);
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.public-footer-grid
{
    display: grid;

    grid-template-columns:
        1.55fr
        .75fr
        .75fr
        1.15fr;

    gap: 42px;

    padding: 42px 0 36px;
}

/* =========================================================
   BRAND
   ========================================================= */

.public-footer-brand
{
    max-width: 300px;
}


.public-footer-logo
{
    display: inline-block;

    margin-bottom: 13px;
}


.public-footer-logo img
{
    display: block;

    width: 150px;

    height: auto;

    /*
       If the logo itself contains a white background,
       remove this property.
    */
    object-fit: contain;
}


.public-footer-brand p
{
    max-width: 280px;

    margin: 0;

    color: #62544E;

    font-size: 10px;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   MOTTO
   --------------------------------------------------------- */

.public-footer-motto
{
    display: flex;

    flex-wrap: wrap;

    gap: 5px;

    margin-top: 14px;
}


.public-footer-motto span
{
    padding: 4px 9px;

    background: #FFFFFF;

    border: 1px solid #E5D1C2;

    border-radius: 20px;

    color: var(--pci-maroon);

    font-size: 8px;

    font-weight: 750;
}

/* =========================================================
   COLUMNS
   ========================================================= */

.public-footer-column h3
{
    position: relative;

    margin: 5px 0 17px;

    padding-bottom: 9px;

    color: #FFFFFF;

    font-size: 12px;

    font-weight: 750;
}


.public-footer-column h3::after
{
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 30px;
    height: 2px;

    background: var(--pci-gold);

    border-radius: 2px;
}


/* =========================================================
   LINKS
   ========================================================= */

.public-footer-column ul
{
    margin: 0;

    padding: 0;

    list-style: none;
}


.public-footer-column li
{
    margin-bottom: 8px;
}


.public-footer-column li a
{
    position: relative;

    color:
        rgba(255,255,255,.68);

    font-size: 9px;

    text-decoration: none;

    transition:
        color .2s ease,
        padding-left .2s ease;
}


.public-footer-column li a::before
{
    content: "›";

    margin-right: 6px;

    color: var(--pci-gold);
}


.public-footer-column li a:hover
{
    padding-left: 3px;

    color: #FFFFFF;

    text-decoration: none;
}


/* =========================================================
   CONTACT
   ========================================================= */

.public-footer-contact-item
{
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 13px;
}


.public-footer-contact-icon
{
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(229,187,89,.10);

    border:
        1px solid rgba(229,187,89,.18);

    border-radius: 50%;

    color: var(--pci-gold-light);

    font-size: 12px;
}


.public-footer-contact-item > div:last-child
{
    min-width: 0;
}


.public-footer-contact-item span
{
    display: block;

    margin-bottom: 2px;

    color:
        rgba(255,255,255,.45);

    font-size: 7px;

    font-weight: 700;

    letter-spacing: .5px;

    text-transform: uppercase;
}


.public-footer-contact-item strong,
.public-footer-contact-item a
{
    display: block;

    color:
        rgba(255,255,255,.78);

    font-size: 9px;

    line-height: 1.4;

    font-weight: 500;

    text-decoration: none;
}


.public-footer-contact-item a:hover
{
    color: var(--pci-gold-light);
}


/* =========================================================
   BOTTOM BAR
   ========================================================= */

.public-footer-bottom
{
    background:
        rgba(20,0,5,.22);

    border-top:
        1px solid rgba(255,255,255,.08);
}


.public-footer-bottom-inner
{
    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color:
        rgba(255,255,255,.48);

    font-size: 8px;
}


/* =========================================================
   BOTTOM LINKS
   ========================================================= */

.public-footer-bottom-links
{
    display: flex;

    align-items: center;

    gap: 8px;
}


.public-footer-bottom-links a
{
    color:
        rgba(255,255,255,.52);

    text-decoration: none;
}


.public-footer-bottom-links a:hover
{
    color: var(--pci-gold-light);
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px)
{

    .public-footer-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 32px 40px;

        padding:
            38px 0 34px;
    }


    .public-footer-brand
    {
        max-width: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 550px)
{
    /*
       On mobile remove the desktop diagonal gradient.
       Footer below the brand area stays solid maroon.
    */
    .public-footer
    {
        background: var(--pci-maroon-dark) !important;
    }


    /*
       Footer layout:
       Brand      = full width
       Community  = left column
       Quick Links = right column
       Contact    = full width
    */
    .public-footer-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 28px 18px;

        padding: 0 0 28px;
    }


    /* =====================================================
       BRAND AREA
       ===================================================== */

    .public-footer-brand
    {
        grid-column: 1 / -1;

        max-width: none;

        margin: 0;

        padding: 28px 18px 26px;

        background:
            linear-gradient(
                180deg,
                #FFF9F2 0%,
                #F8EEE6 100%
            );

        text-align: center;
    }


    .public-footer-logo
    {
        display: inline-block;

        margin-bottom: 14px;
    }


    .public-footer-logo img
    {
        display: block;

        width: 175px;

        max-width: 100%;

        height: auto;

        margin: 0 auto;

        object-fit: contain;
    }


    .public-footer-brand p
    {
        max-width: 310px;

        margin: 0 auto;

        color: #62544E;

        font-size: 9px;

        line-height: 1.65;
    }


    .public-footer-motto
    {
        justify-content: center;

        margin-top: 13px;
    }


    .public-footer-motto span
    {
        background: #FFFFFF;

        border-color: #E6D2C4;

        color: var(--pci-maroon);
    }


    /* =====================================================
       COMMUNITY + QUICK LINKS
       ===================================================== */

    .public-footer-column
    {
        padding-top: 2px;
    }


    .public-footer-column h3
    {
        margin-top: 0;
    }


    /* =====================================================
       CONTACT
       Full width below the two link columns
       ===================================================== */

    .public-footer-contact
    {
        grid-column: 1 / -1;

        padding-top: 4px;
    }


    /* =====================================================
       COPYRIGHT
       ===================================================== */

    .public-footer-bottom-inner
    {
        flex-direction: column;

        justify-content: center;

        gap: 5px;

        min-height: 58px;

        padding: 10px 0;

        text-align: center;
    }
}

.home-cta-section
{
    margin-bottom: 0;
}

.public-footer
{
    margin-top: 0;
}

/* =========================================================
   TOP UTILITY BAR
   ========================================================= */

.top-bar {
    background: #0b2f63;
    color: #ffffff;
    font-size: 12px;
    min-height: 34px;
    background: var(--pci-maroon);

}

.top-bar .container {
    width: 100%;
}

.top-bar-row {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.top-bar-left,
.top-bar-center,
.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-center {
    gap: 22px;
}

.top-bar-right {
    gap: 8px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    white-space: nowrap;
}

.top-bar-item i {
    font-size: 11px;
}

.follow-text {
    margin-right: 4px;
    white-space: nowrap;
}

.social-icon {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    text-decoration: none;

    border-radius: 50%;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.social-icon i {
    font-size: 11px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   MOBILE TOP BAR
   ========================================================= */

@media (max-width: 767px) {

    .top-bar {
        font-size: 11px;
        padding: 6px 0;
    }

    .top-bar-row {
        min-height: auto;

        flex-wrap: wrap;
        justify-content: center;

        gap: 6px 15px;
    }

    .top-bar-left {
        width: 100%;
        justify-content: center;
    }

    .top-bar-center {
        gap: 12px;
        justify-content: center;
    }

    .top-bar-right {
        justify-content: center;
    }

    .top-email {
        display: none;
    }

}

.member-result-products strong {
    display: block;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
}

.member-result-products {
    margin-top: 14px;
}


.invite-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
}

.invite-input-row .form-control {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px;
}

.invite-input-row .btn-find-members {
    width: auto;
    white-space: nowrap;
    margin: 0;
}

@media (max-width: 768px) {
    .invite-input-row {
        grid-template-columns: 1fr;
    }

    .invite-input-row .btn-find-members {
        width: 100%;
        white-space: normal;
    }
}


.resume-skill {
    display: inline-block;
    background: #edf3fa;
    color: #264b78;
    padding: 8px 14px;
    border-radius: 20px;
    margin: 4px;
    font-size: 13px;
    font-weight: 600;
}

.resume-skill-primary {
    background: #e3f5eb;
    color: #17663f;
}



.resume-education-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.resume-education-table th {
    background: #edf3fa;
    color: #264b78;
    padding: 12px;
    text-align: left;
}

.resume-education-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e9ef;
}

@media(max-width:650px) {
    .resume-education-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
