html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: #fff;
    padding: 15px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-settings {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Privacy Policy Page */
.privacy-policy section {
    margin-bottom: 30px;
}

.privacy-policy table {
    margin-top: 15px;
}

#openCookieSettings {
    margin-top: 10px;
}

/* program tab css*/

:root {
    --saiu-blue: #001D45;
    --saiu-accent: greenyellow;
    --node-size: 100px;
}



.flowchart-header {
    text-align: center;
    margin-bottom: 40px;
}

    .flowchart-header h1 {
        color: var(--saiu-blue);
        margin-bottom: 10px;
    }

    .flowchart-header p {
        color: #666;
        max-width: 700px;
        margin: 0 auto;
    }

.saiu-radial-menu {
    position: relative;
    width: 100%;
    min-height: 500px;
    margin: 2rem auto;
    max-width: 900px;
}

.hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--saiu-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,29,69,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .hub:hover {
        transform: translate(-50%, -50%) scale(1.05);
        background: #002a5e;
    }

.hub-icon {
    font-size: 2rem;
    font-weight: bold;
}

.hub-label {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.9;
}

.program-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 10;
}

.program-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: var(--node-size);
    height: var(--node-size);
    border-radius: 50%;
    background: white;
    color: var(--saiu-blue);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

    .program-card i {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .program-card span {
        font-size: 0.85rem;
        font-weight: 600;
    }

.program-links {
    position: absolute;
    width: 200px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
}

    .program-links a {
        display: block;
        padding: 8px 0;
        color: var(--saiu-blue);
        text-decoration: none;
        border-bottom: 1px solid #eee;
        font-size: 0.9rem;
    }

        .program-links a:hover {
            color: var(--saiu-accent);
            font-weight: 500;
        }

/* Color Variants */
.health-science {
    border: 3px solid #4CAF50;
}

.md-program {
    border: 3px solid #2196F3;
}

.pg-program {
    border: 3px solid #9C27B0;
}

.management {
    border: 3px solid #FF9800;
}

.asha {
    border: 3px solid #E91E63;
}

.uoc {
    border: 3px solid #607D8B;
}

/* Active State */
.menu-active .program-node {
    transform: translate( calc(-50% + (250px * cos(var(--angle)))), calc(-50% + (250px * sin(var(--angle)))) );
}

.menu-active .program-card:hover .program-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .saiu-radial-menu

{
    min-height: 400px;
}

.menu-active .program-node {
    transform: translate( calc(-50% + (180px * cos(var(--angle)))), calc(-50% + (180px * sin(var(--angle)))) );
}

.program-card {
    width: 80px;
    height: 80px;
}

    .program-card i {
        font-size: 1.4rem;
    }

    .program-card span {
        font-size: 0.7rem;
    }

.program-links {
    width: 160px;
    padding: 10px;
}

}

@media (max-width: 480px) {
    .menu-active .program-node

{
    transform: translate( calc(-50% + (140px * cos(var(--angle)))), calc(-50% + (140px * sin(var(--angle)))) );
}

}

/* Animation for initial load */
keyframes fadeIn {
    from

{
    opacity: 0;
    transform: translateY(20px);
}

to {
    opacity: 1;
    transform: translateY(0);
}

}

.flowchart-header {
    animation: fadeIn 0.8s ease;
}