@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Custom styles for GI Live website */
:root {
    --bs-primary: #0B56EF;
    --bs-primary-rgb: 11, 86, 239;
    
    /* Brand Colors */
    --brand-primary: #1D3D8F;
    --brand-primary-rgb: 29, 61, 143;
    --brand-navy: #224192;
    --brand-navy-rgb: 34,65,146;
    --brand-teal: #099;
    --brand-teal-rgb: 0, 153, 153;
    
    /* Font Sizes - Using clamp for responsive typography */
    --fs-display-4: clamp(2.5rem, 5vw, 3.5rem);
    --fs-display-6: clamp(1.5rem, 3vw, 2rem);
    --fs-lead: clamp(1.1rem, 2vw, 1.25rem);
    --fs-base: clamp(1rem, 1.5vw, 1.125rem);
    --fs-small: clamp(0.875rem, 1.2vw, 1rem);

    /* Project Specific Font Sizes - Desktop (22pt, 14pt, 18pt, 12pt) */
    --fs-main-header-desktop: 2.125rem;
    --fs-text-desktop: 1.3125rem;
    --fs-minor-header-desktop: 1.75rem;
    --fs-minor-text-desktop: 1.125rem;

    /* Project Specific Font Sizes - Mobile (15pt, 11pt, 13.5pt, 10pt) */
    --fs-main-header-mobile: 1.25rem;
    --fs-text-mobile: 0.916rem;
    --fs-minor-header-mobile: 1.125rem;
    --fs-minor-text-mobile: 0.833rem;

    /* Responsive Font Scale using clamp() */
    --fs-main-header: clamp(var(--fs-main-header-mobile), 4vw, var(--fs-main-header-desktop));
    --fs-text: clamp(var(--fs-text-mobile), 2.5vw, var(--fs-text-desktop));
    --fs-minor-header: clamp(var(--fs-minor-header-mobile), 3vw, var(--fs-minor-header-desktop));
    --fs-minor-text: clamp(var(--fs-minor-text-mobile), 2vw, var(--fs-minor-text-desktop));
}
/* Utility Classes */
.bg-brand-primary {
    background-color: var(--brand-primary) !important;
}

.text-brand-navy {
    color: var(--brand-navy) !important;
}

/* General styles */
body {
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('https://searixcdn.blob.core.windows.net/searixcdn/2026/05-nhg/background.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Navigation styles */
.navbar {
    padding: 1rem 0;
    z-index: 1;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
}

/* Shared navbar component styles */
.navbar-nav .nav-item {
    margin: 0 0.6rem;
}
.navbar-nav .nav-link {
    padding: 0.5rem 0.5rem !important;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: var(--brand-teal) !important;
}
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
}
.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}
.dropdown-item:hover {
    background-color: #099;
    color: white;
}
.nav-link {
    font-size: 1.15rem;
}

/* Programme dropdown hover on desktop */
@media (min-width: 992px) {
    .programme-dropdown:hover .dropdown-menu {
        display: block;
    }
}
@media (max-width: 991px) {
    .programme-dropdown .dropdown-menu {
        position: static;
        display: none;
    }
    .programme-dropdown .dropdown-menu.show {
        display: block;
    }
}

/* Arena submenu positioning */
.arena-dropdown {
    position: relative;
}
.arena-dropdown > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}
@media (min-width: 992px) {
    .arena-dropdown:hover > .dropdown-menu {
        display: block;
    }
    .arena-toggle {
        display: none;
    }
}
@media (max-width: 991px) {
    .arena-dropdown {
        display: flex;
        flex-direction: column;
    }
    .arena-dropdown > .dropdown-menu {
        position: static;
        display: none;
    }
    .arena-dropdown > .dropdown-menu.show {
        display: block;
    }
}

/* Navbar centering on desktop */
@media (min-width: 992px) {
    .navbar .container-fluid {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .navbar .navbar-collapse {
        flex-grow: unset;
    }
    nav.z-top * {
        z-index: 2 !important;
    }
}

/* Main content styles */
main {
    min-height: calc(100vh - 200px);
}

/* Custom utility classes */
.text-primary-custom {
    color: #007bff;
}

.bg-light-custom {
    background-color: #f8f9fa;
}
/* Abstract Background Pattern */
.abstract-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.abstract-shape {
    position: absolute;
    opacity: 0.07;
    transition: transform 0.5s ease;
    z-index: -1;
}

/* Circle shape with gradient */
.shape-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--brand-navy), var(--brand-teal));
    top: -150px;
    right: -100px;
    z-index: -1;
}

/* Organic blob shape */
.shape-blob {
    width: 300px;
    height: 300px;
    background: var(--brand-teal);
    bottom: 10%;
    left: -100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
}

/* Dotted pattern */
.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--brand-navy) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 30%;
    right: 10%;
    z-index: -1;
}

/* Abstract lines */
.shape-lines {
    width: 250px;
    height: 250px;
    background: repeating-linear-gradient(
        45deg,
        var(--brand-navy),
        var(--brand-navy) 2px,
        transparent 2px,
        transparent 10px
    );
    bottom: 15%;
    right: 20%;
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
} 
/* Award card styles */
.bg-award {
    background-color: var(--brand-primary) !important;
}
.bg-award.text-white p,
.bg-award.text-white h4,
.bg-award.text-white i {
    color: white !important;
}

/* Table Background Utility */
.bg-table-primary,
.bg-table-primary td,
.bg-table-primary th {
    background-color: var(--brand-primary) !important;
}

/* Expandable Content Component */
.expandable-trigger {
    background-color: #1D3D8F;
    color: white;
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.expandable-trigger:hover {
    background-color: #152d6a;
}

.expandable-trigger-content {
    flex-grow: 1;
}

.expandable-trigger-icon {
    font-size: 0.8rem;
    margin-left: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.expandable-trigger[aria-expanded="true"] .expandable-trigger-icon {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease;
    opacity: 0;
    background-color: white;
    color: black;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.expandable-content.show {
    max-height: 1000px; /* Large enough value */
    opacity: 1;
    padding: 2rem;
}

/* Shared layout patterns */
.section-spacing {
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.hero-banner {
    margin-bottom: 6rem;
}
main > .container {
    padding: 0;
}
.placeholder-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder-card {
    text-align: center;
    padding: 3rem 2rem;
}
.placeholder-card h1 {
    color: var(--brand-navy);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: var(--fs-main-header) !important;
}
.placeholder-card p {
    color: #6c757d;
    font-size: var(--fs-text) !important;
}

.text-double {
    display: block;
    font-size: clamp(2rem, 12vw, calc(400% - 5pt));
    line-height: 1.1;
}

@media (max-width: 768px) {
    .text-double {
        font-size: clamp(1.2rem, 9vw, calc(240% - 3.5pt));
    }
}
/* Segmented Buttons Styling */
.segmented-control {
    display: inline-flex;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    border: none;
    gap: 12px;
}

.segmented-control .nav-item {
    margin: 0;
}

.segmented-control .nav-link {
    border-radius: 8px;
    color: var(--brand-primary);
    padding: 12px 35px;
    border: 2pt solid var(--brand-primary);
    background-color: transparent;
    font-weight: 600;
    transition: all 0.2s ease;
}

.segmented-control .nav-link:hover:not(.active) {
    background-color: rgba(29, 61, 143, 0.1);
}

.segmented-control .nav-link.active {
    background-color: var(--brand-primary);
    color: white !important;
    border-color: var(--brand-primary);
}


@media (max-width: 768px) {
    .segmented-control {
        display: flex;
        justify-content: center;
        width: auto;
        gap: 10px;
        margin: 0 auto;
    }
    .segmented-control .nav-item {
        flex: 0 1 auto;
        text-align: center;
    }
    .segmented-control .nav-link {
        padding: 10px 5px;
        font-size: 0.85rem;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
}
.tab-content-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: 15px;
    border: 1px solid #eee;
}
/* Profile Circle Placeholder */
.profile-circle {
    width: 150px;
    height: 150px;
    border: 2px solid white;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 576px) {
    .profile-circle {
        width: 120px;
        height: 120px;
    }
}

/* Shrink banner by 10% on mobile */
@media (max-width: 576px) {
    .banner-mobile-shrink {
        max-width: 90% !important;
    }
}

/* Shrink banner by 5% on mobile */
@media (max-width: 576px) {
    .banner-mobile-shrink-5 {
        max-width: 95% !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
