@import url("fonts.css");
:root {
    --primary-color: #0056b3;
    --text-color: #333;
    --bg-color: #fff;
    --card-bg: #fff;
    --link-color: #0056b3;
    --card-active-bg: #e3f2fd;
    --card-active-border: #0056b3;
}

body {
    font-family: 'FiraGO-Book' !important;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 20px;
}
body,html {
    margin:0;
    padding: 0;
}
a,h1,h2,h3,p,span,div {
    font-size: 20px;
}
h1,h2,h3 {
    font-weight: bold;
}
@media only screen and (max-width: 600px) {
  body {
    font-size: 1rem;
  }  a,h1,h2,h3,p,span,div {
    font-size: 1rem;
  }
      .accessibility-controls #startReading .fa-solid, .accessibility-controls #toggleContrast .fa-solid {
        padding-right: 40px;
     }
     #startReading.btn-secondary, #toggleContrast.btn-secondary  {
         max-width: 41px;
         overflow: hidden;
     }
    .container.voicemenu {
        padding:0;
        justify-content: center;
        display: flex;
    }
}
@media only screen and (min-width: 600px) {
    .row {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}
.logo_cont {
    width: 100%;
    height: auto;
    display: flex;
}
.logo {
    display: block;
    height: 160px;
    background-image: url("../img/logo/logo.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 10px auto;
    cursor: pointer;
}
.high-contrast .logo {
    background-image: url("../img/logo1.png");
}
#main {
    min-height: calc(100vh - 234px);
}

.accessibility-controls .fa-solid {
    margin-right: 5px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background-color: var(--primary-color);
    color: white;
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
}

.navbar {
    background-color: var(--primary-color);
}

.nav-link {
    color: white !important;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-link:hover, .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.feature-card {
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    padding: 1.5rem;
    background-color: var(--card-bg);
    cursor: pointer;
    position: relative;
}
.voicemenu .feature-card {
    height: 116px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.feature-card.active {
    background-color: var(--card-active-bg);
    border-color: var(--card-active-border);
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.3);
}

.feature-card.active::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: var(--primary-color);
}

.accessibility-controls {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.font-size-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.font-size-btn {
    padding: 5px 10px;
    font-weight: bold;
    min-width: 40px;
}

.interactiveON {
    background-color: #FDF6EA;
    border-radius: 20px;;
}

.high-contrast {
    --text-color: #fff;
    --bg-color: #000;
    --card-bg: #333;
    --link-color: #fff;
    --card-active-bg: #444;
    --card-active-border: #fff;
}

.interactiveON {
    background-color: #FDF6EA;
    color: #000;
}

.high-contrast .navbar {
    background-color: #333;
}

.high-contrast .feature-card {
    color: #fff;
}

.high-contrast .accessibility-controls {
    background-color: #333;
    color: #fff;
}

.high-contrast a {
    color: var(--link-color);
}

.high-contrast .hero {
    background-color: #222;
    color: #fff;
}

.high-contrast footer {
    background-color: #222 !important;
    color: #fff;
}

.high-contrast .feature-card.active {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.high-contrast .feature-card.active::before {
    color: #fff;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    .font-size-controls {
        justify-content: center;
        margin-bottom: 1rem;
        gap: 4px;
    }
}


.panel-title a {
    text-decoration: none;
    color: #337ab7;
    font-weight: bold;
}

.panel-title a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.panel-body {
    padding: 15px;

    border: 1px solid #ddd;
}

/* Accordion Container Style */
.panel {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* Panel Heading Style */
.panel-heading {

    border-bottom: 1px solid #ddd;
    padding: 10px 15px;
    cursor: pointer;
}

.panel-heading:hover {

}

/* Panel Title Style */
.panel-title {
    font-weight: bold;
    margin: 0;
}

/* Default State (collapsed) */
.collapse {
    display: none;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

/* Expanded State */
.collapse.in {
    display: block;
    height: auto;
    overflow: visible;
}
.ignore br {
     display: none;
}
img {
    display:none;
}
