/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Fonts */
@font-face {
  font-family: 'Utopia';
  src: url('fonts/Utopia.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TheSans';
  src: url('fonts/TheSansC4s-5_Plain.woff2') format('woff2');
}

@font-face {
  font-family: "TheSans";
  src: url("fonts/TheSansC4s-7_Bold.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "phbern-icons";
  src: url("fonts/phbern-icons.eot");
  src: url("fonts/phbern-icons.eot#iefix") format("embedded-opentype"), url("fonts/phbern-icons.ttf") format("truetype"), url("fonts/phbern-icons.woff") format("woff"), url("../fonts/phbern-icons.svg#phbern-icons") format("svg");
  font-weight: normal;
  font-style: normal;
}


body {
    font-family: "TheSans", sans-serif !important;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 912px;
    margin: 0 auto;
}

/* Main content */
main {
    padding: 0 1rem;
}

.site-logo {
    display: flex;
    max-width: 158px;
    margin-top: 1.75rem;
    margin-left: auto;
}



h1 {
    font-family: 'Utopia';
    color: #1A1A1A;
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 75px;
    letter-spacing: 0.3px;    
    margin-bottom: 1.5rem;
    margin-top: 6rem;
}

h2 {
    color: #1A1A1A;
    font-family: 'Utopia';
    font-size: 33px;
    font-style: normal;
    font-weight: 700;
    line-height: 41px; /* 124.242% */
    margin-bottom: 0.75rem;
}

p {
    color: #1A1A1A;
    font-family: "TheSans";
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 33px; /* 157.143% */
}

a {
    color: #ac0101;
    font-weight: bold;
    text-decoration: none;
    font-size: 21px;    
}
a:hover {
    color: #780101;
    text-decoration: underline;
}   



footer {
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
    margin-top: 10rem;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

footer p,
footer a {
    color: #fff;  
    font-size: 1.125rem;
    text-decoration: none;
}

footer a:hover .icon {
    color: #b36b93;
}



/* Accordion Styles - replacing Tailwind classes */
.first-item {
    margin-top: 3.75rem;
}

.accordion {
    border-bottom: 1px solid #757575;
    transition: border-color 0.3s ease;
}

.accordion__trigger {
    padding: 1rem 0;
    display: flex; /* flex */
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    width: 100%; 
    font-size: 1.3125rem; 
    list-style: none; 
    background: none;
    border: none;
    text-align: left;
    outline: none;
}

.accordion__heading {
    margin-bottom: 0;
    flex: 1;
    font-weight: 600;
}

.accordion__heading-text {
    color: inherit;
}

.accordion__icon-wrapper {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion__icon-wrapper svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
    color: currentColor;
}

/* Icon states */
.accordion__icon-wrapper .icon-plus {
    display: block;
}

.accordion__icon-wrapper .icon-minus {
    display: none; /* hidden */
}

/* When accordion is open */
.accordion[open] .accordion__icon-wrapper .icon-plus {
    display: none;
}

.accordion[open] .accordion__icon-wrapper .icon-minus {
    display: block;
}

.accordion__content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion__content > div {
    padding-bottom: 1.5rem; /* pb-6 */
}




.institut-item {
    margin-bottom: 2rem;
}


.menu--social {
    display: flex;
    gap: 1rem;
    list-style: none;
}


[class^=icon-],
[class*=" icon-"],
.icon {
  /* use !important to prevent issues with browser extensions that change ../fonts */
  font-family: "phbern-icons" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: #8d8d8d;
  font-size: 24px;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before {
    content: "\e90b";
}
.icon-instagram:before {
    content: "\e919";
}
.icon-youtube:before {
    content: "\e916";
}
.icon-linkedin:before {
    content: "\e91c";
}

.menu--social .menu__item a .icon-blog {
    display: flex;    
    background-image: url("icons/blog.png");
    background-position: center;
    background-size: 100%;
    height: 22px;
    width: 22px;    
}
.menu--social .menu__item a .icon-google {
    display: flex;
    background-image: url("icons/google.svg");
    background-position: center;
    background-size: 100%;
    height: 22px;
    width: 22px;    
}


/* Content sections */
.content-section {
    background: white;
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.content-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}



.alerts-container {
    margin-top: 2rem;
}




/* Responsive design */
@media (max-width: 768px) {

    .site-logo {
        max-width: 100px;
        margin-top: 1.75rem;
    }


    h1 {
        font-size: 42px;
        line-height: 45px;
        margin-top: 2rem;
    }

    h2 {
        font-size: 24px;
        line-height: 26px;
        margin-top: 2rem;
    }
    
    .first-item {
        margin-top: 2rem;
    }

    .content-section {
        padding: 1rem;
    }

    footer .container {
        flex-direction: column;
    }

}



.emergency-status.active {
    background-color: #ffc107;
    color: #212529;
}

.emergency-status.inactive {
    background-color: #28a745;
    color: white;
}

.emergency-status.critical {
    background-color: #dc3545;
    color: white;
}

.last-updated {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

.alerts-container {
    margin-bottom: 2rem;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert.warning {
    background-color: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.alert.info {
    background-color: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.alert.urgent {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
    animation: pulse 2s infinite;
}

.alert-icon {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.alert-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.alert-content p {
    margin: 0 0 0.5rem 0;
}

.alert-timestamp {
    font-size: 0.8rem;
    opacity: 0.7;
}


.instruction-category {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.instruction-category h4 {
    margin-bottom: 1rem;
    color: #495057;
    font-size: 1.1rem;
}

.instruction-category ul {
    list-style: none;
    padding: 0;
}

.instruction-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 1.5rem;
}

.instruction-category li:last-child {
    border-bottom: none;
}

.instruction-category li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.contacts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.contact-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.contact-card h4 {
    margin-bottom: 1rem;
    color: #495057;
}

.contact-card .phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.contact-card .email {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.contact-card .available {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}

.image{
    width: 100%;
    height: auto;
    margin-top: 1rem;
}