/* ==========================================================================
   <?php echo $brandName; ?> - CORE CUSTOM STYLESHEET
   ========================================================================== */

/* 1. Design Tokens & Color Schemes */
:root {
    --brand-primary: #0a2b3e;
    --brand-primary-dark: #051e2c;
    --brand-secondary: #1c6e8f;
    --brand-accent: #f7b32b;
    --brand-success: #10b981;
    --bg-light: #e6f0f5;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1e2a3e;
    --text-muted: #64748b;
    --text-light: #fff;
    --font-inter: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.bg-primary{
    background-color: #051e2c  !important;
}
/* 2. Global Resets & Typography */
body {
    font-family: var(--font-inter);
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.portal-section {
    padding: 5.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.portal-section-light {
    background-color: var(--bg-light);
}

.section-tagline {
    background-color: #1c6e8f;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.25rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
    font-size: 1.05rem;
}

/* 3. Custom Navigation Styling */
.custom-navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
}

.portal-brand {
    font-weight: 800;
    font-size: 1.65rem;
    color: var(--brand-primary);
    text-decoration: none;
}

.portal-nav-link {
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.portal-nav-link:hover,
.portal-nav-link.active {
    color: var(--brand-secondary);
}

/* 4. Custom Buttons & UI Triggers */
.btn-portal-primary {
    background-color: var(--brand-secondary);
    color: var(--bg-white);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-portal-primary:hover {
    background-color: var(--brand-primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-portal-outline {
    background-color: transparent;
    color: var(--brand-primary);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: 1px solid var(--brand-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-portal-outline:hover {
    background-color: var(--brand-primary);
    color: var(--bg-white);
}

/* 5. Hero Banner & Form Controls */
.portal-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f1f7fa 100%);
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.portal-search-card {
    background-color: var(--bg-white);
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(10, 43, 62, 0.05);
    padding: 2.25rem;
}

.portal-form-group {
    margin-bottom: 1.25rem;
}

.portal-form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.portal-input-field,
.portal-select-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.portal-input-field:focus,
.portal-select-field:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(28, 110, 143, 0.15);
}

.search-status-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* 6. Dynamic Performance Counters */
.counter-box {
    text-center: center;
    padding: 1rem;
}

.counter-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

/* 7. Advanced Analytical Tables */
.portal-table-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.portal-data-table {
    width: 100%;
    margin-bottom: 0;
    vertical-align: middle;
}

.portal-table-header {
    background-color: var(--brand-primary);
    color: var(--bg-white);
}

.portal-table-header th {
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
}

.portal-data-row {
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-color);
}

.portal-data-row:hover {
    background-color: #f8fafc;
}

.portal-data-cell {
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
}

.rank-index {
    font-weight: 800;
    color: var(--brand-primary);
}

.institution-profile-name {
    font-weight: 700;
    color: var(--brand-primary);
    text-decoration: none;
}

.institution-profile-name:hover {
    color: var(--brand-secondary);
}

.metric-badge-score {
    background-color: var(--brand-accent);
    color: var(--brand-primary-dark);
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 40px;
    font-size: 0.85rem;
    display: inline-block;
}

.stream-pill {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* 8. Magazine News & Intelligence Cards */
.portal-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 43, 62, 0.08);
}

.card-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.card-img-src {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portal-card:hover .card-img-src {
    transform: scale(1.05);
}

.card-type-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--brand-secondary);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-bottom-left-radius: 1rem;
}

.card-type-tag.accent-tag {
    background-color: var(--brand-accent);
    color: var(--brand-primary-dark);
}

.portal-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-meta-row {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.card-portal-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.85rem;
}

.card-portal-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-action-link {
    color: var(--brand-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.card-action-link:hover {
    color: var(--brand-primary);
}

/* 9. Value Pillars & Global Coverage Map Area */
.pillar-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #e6f0f5;
    color: var(--brand-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.map-placeholder-box {
    background-color: #f1f5f9;
    border: 2px dashed var(--border-color);
    border-radius: 1.25rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* 10. Partner Grid & Trust Networks */
.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .partner-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(min-width: 992px) {
    .partner-logo-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.partner-logo-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.partner-logo-item:hover {
    background-color: var(--bg-white);
    border-color: var(--brand-secondary);
}

/* 11. Testimonials & Student Stories */
.testimonial-bubble {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--bg-light);
    transform: rotate(45deg);
}

.user-avatar-initials {
    width: 45px;
    height: 45px;
    background-color: var(--brand-secondary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* 12. FAQ Custom Accordion Elements */
.custom-faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.custom-faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--brand-primary);
    padding: 1.25rem;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
    background-color: #e6f0f5;
    color: var(--brand-primary);
    box-shadow: none;
}

/* 13. Newsletter & Call-To-Action Layouts */
.newsletter-card-block {
    background-color: var(--brand-primary-dark);
    border-radius: 1.5rem;
    padding: 3.5rem;
    color: var(--bg-white);
}

.cta-banner-wrapper {
    background: linear-gradient(rgba(10, 43, 62, 0.9), rgba(10, 43, 62, 0.95)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 5rem 2rem;
    border-radius: 1.5rem;
    color: var(--bg-white);
}

/* 14. Comprehensive Enterprise Footer */
.portal-footer {
    background-color: #071924;
    color: #ffffff;
    padding: 5rem 0 2rem 0;
    font-size: 0.9rem;
}

.footer-brand-title {
    color: var(--bg-white);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-section-heading {
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links-list a:hover {
    color: var(--bg-white);
    padding-left: 4px;
}

.footer-social-wrapper {
    display: flex;
    gap: 0.75rem;
}

.social-circle-link {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-circle-link:hover {
    background-color: var(--bg-white);
    color: var(--brand-primary-dark);
}



.hero {
    background: linear-gradient(
184deg, #ffffff 0%, #f0f6fa 100%);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.card-hover {
    transition: all 0.2s ease;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
}

.timeline-item {
    border-left: 3px solid #1c6e8f;
    padding-left: 2rem;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #0a2b3e;
    border-radius: 50%;
    left: -9px;
    top: 5px;
}

.ranking-table th {
    background: var(--brand-secondary);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.ranking-table td {
    padding: 1rem;
    vertical-align: middle;
}

.table-responsive {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.ranking-score-badge {
    background: var(--brand-secondary);
    color: #1e2a3e;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
}

.badge-metric {
    background: var(--brand-secondary);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.filter-pill {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #cbdbe0;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    background: white;
    font-weight: 500;
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--brand-secondary);
    color: white;
    border-color: var(--brand-secondary);
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

.event-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    background: white;
    transition: transform 0.2s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--brand-secondary);
    color: var(--bg-white);
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.solutions-nav-pill {
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    background: white;
    border: 1px solid #cbd5e1;
}

.solutions-nav-pill.active {
    background: var(--brand-secondary);
    color: white;
    border-color: var(--brand-secondary);
}

.feature-icon {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-right: 0.75rem;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: #e6f0f5;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.map-placeholder {
    background: #e2e8f0;
    border-radius: 1rem;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    border: 2px dashed #cbd5e1;
}
.accordion-button:not(.collapsed)::after {
    filter: brightness(0.5);
}
.portal-footer .text-muted {
    color: #fff !important;
}
.border-start {border-color: var(--brand-secondary) !important;}
.card i {
    color: #1c6e8f;
}
.portal-section img {
    border-radius: 15px;
}
.cardNews {
    border: 1px solid #dbdbdb;
    padding: 1rem;
    border-radius: 10px;
    background: #fff;
}

.cardNews span {
    font-size: 12px;
    margin-bottom: 9px !important;
}
.logo img {
    width: 10rem;
}
.footer-brand-title img {
    width: 14rem;
}

.columTwo{
    columns: 2;
}


.eventSideBar .event-card img {
    width: 10rem;
    object-fit: cover;
}

.eventSideBar .event-card {
    display: flex;
    margin: 16px 0;
    background: #fff;
    box-shadow: 0 0 20px #00000026;
}

.eventSideBar {
    background: #f2f7fb;
    padding: 1rem;
    border-radius: 10px;
    margin-left: 2rem;
}

.eventSideBar .event-card .event-date-badge {
    font-size: 10px;
    padding: 4px;
}

.eventSideBar .event-card h5 {
    font-size: 1rem;
}

.eventSec {
    padding: 6rem 0;
}

.eventSideBar h3 {
    font-size: 1.245rem;
    text-align: center;
    margin-top: 10px;
}

.galleryEvent img {
    border-radius: 15px;
    height: 110px;
    object-fit: cover;
}
.galleryFlex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.galleryEvent {
    margin-top: 2rem;
}


.navbar-toggler {
    display: none;
}
    .display-4 {
        font-size: 2.5rem;
    }



body, html{
    overflow-x: hidden;
}

/* .btn-outline-secondary {
    background-color: #dc3545;
    color: var(--bg-white);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
} */


.privacy-policy-container h2 {
    font-size: 1.5rem;
}

.privacy-policy-container {
    padding: 4rem 0;
}
.privacy-policy-container h4 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}


@media (max-width: 767px) {
.portal-hero .col-lg-5 {
    position: absolute;
    width: 70%;
    right: -7rem;
    z-index: 0;
    opacity: 0.2;
    top: 3rem;
}

.portal-hero .text-center {
    position: relative;
    z-index: 1;
}

.portal-hero {
    padding: 0;
    height: 50vh;
    display: flex;
    align-items: center;
    min-height: 28rem;
}

.hero-title {
    font-size: 2rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn-portal-primary {
    padding: 10px 1.5rem;
    font-size: 14px;
}
.counter-value {
    font-size: 2rem;
}

.portal-section {
    padding: 3rem 0;
}

.section-tagline {
    font-size: 10px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    margin-bottom: 1.5rem;
    font-size: 14px;
}
}

.eventText img {
    border-radius: 20px;
    margin-bottom: 1rem;
        width: 100%;
            height: 430px;
    object-fit: cover;
}
@media (max-width: 576px) {
.portal-hero .col-lg-5 {
    width: 60%;
    right: 0;
}
.logo img {
    width: 8rem;
}
.hero-title {
    font-size: 1.75rem;
}
    .counter-value {
        font-size: 1.5rem;
    }
    .counter-box {
    padding: 0;
}
.counter-label {
    font-size: 10px;
}
html{
    font-size: 13px;
}
.cta-banner-wrapper {
    padding: 2rem 1rem;
}
.display-5 {
    font-size: 1.5rem !important;
}

.lead {
    font-size: 14px;
}

.btn {
    font-size: 14px;
}
.display-4 {
    font-size: 1.45rem;
}
.solutions-nav-pill {
    font-size: 1rem;
}
  .display-5 {
    font-size: 1.65rem;
}

.lead {
    font-size: 1rem;
}

.btn {
    font-size: 14px;
}

.cta-banner-wrapper {
    padding: 2rem 1rem;
}
.portal-footer {
    padding: 2rem 0 1rem 0;
}
.newsHero {
   height: auto;
    min-height: auto;
}

.newsHero .portal-card {
    min-height: 340px !important;
}
.footer-brand-title img {
    width: 10rem;
}
.privacy-policy-container h4 {
    font-size: 1.8rem;
}

.privacy-policy-container h2 {
    font-size: 1.35rem;
}

.privacy-policy-container {
    padding: 2rem 0;
}

.eventText img {
            height: auto;
}
.eventSec {
    padding: 3rem 0;
}

.eventSideBar {
    margin: 0;
}
}
