@media only screen and (min-width: 2604px) {
    body {
        background-image: url("images/MainBackground.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
      }

    .hero-text {
        position: fixed;
        left: 350px;
        color: #421a00;
        font-size: 40px;
        padding: 20px 40px;
        background: rgba(222, 188, 141, 0.9);
        border-radius: 15px;
        border: 3px solid #421a00;
        box-shadow: 0 4px 15px rgba(66, 26, 0, 0.3);
        text-shadow: 2px 2px 4px rgba(66, 26, 0, 0.2);
    }

    .hero-text h1 {
        padding-left: 0;
        margin: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        font-weight: bold;
    }


    section {
        margin: 0;
    }

    .grid-container1 {
        display: grid;
        grid-template-columns: auto;
        gap: 15px;
        opacity: 1;
        position: fixed;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(66, 26, 0, 0.6);
        padding: 20px;
        border-radius: 20px;
        overflow: visible;
        width: 90px;
        height: fit-content;
    }


    .option {
        width: 60px;
        height: 60px;
        border-radius: 30px;
        padding: 15px;
        font-size: 1.5em;
        cursor: pointer;
        overflow: hidden;
        white-space: nowrap;
        transition: all 0.5s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background-color: #debc8d;
        border: solid #421a00 2px;
        z-index: 2;
    }

    .option:nth-child(2),
    .option:nth-child(3),
    .option:nth-child(4) {
        background-color: #debc8d;
    }

    .option:hover {
        width: 430px;
        padding-right: 30px;
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 3;
        background-color: #e5c89c;
        transform: translateX(20px);
    }

    .option i {
        font-size: 1.5em;
        color: #421a00;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.5s ease;
    }

    .option-text {
        color: #421a00;
        font-weight: bold;
        font-size: 1.2em;
        opacity: 0;
        transition: opacity 0.3s ease;
        margin-left: 45px;
        z-index: 3;
    }

    .option:hover i {
        left: 25px;
        transform: translateX(0);
    }

    .option:hover .option-text {
        opacity: 1;
    }

    .option h2 {
        display: none;
    }

  

    

    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: absolute;

    }

    .sirkel i {
        font-size: 56px;
        position: relative;
        top: 13px;
        color: #421a00;

    }

   

    .logoImg {
        height: 90px;
        width: 90px;
    }

    .logo {
        border-radius: 50%;
        background-color: #debc8d;
        width: 87px;
        height: 90px;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: fixed;
        top: 15px;
        right: 200px;
    }

    .logo-block {
        border-radius: 6px;
        background-color: #debc8d;
        width: fit-content;
        height: 70px;
        border: solid #421a00 2px;
        position: fixed;
        top: 25px;
        right: 30px;
        z-index: -1;
    }

    .logo-block h2 {
        color: #421a00;
        text-align: center;
    }

    /* Add new navigation container */
    .nav-container {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(66, 26, 0, 0.6);

        border-radius: 20px;
        /* border: 2px solid #421a00; */
        display: flex;
        gap: 15px;
        align-items: center;
        width: fit-content;
        max-width: 90%;
    }

    /* Update grid container to work within nav-container */
    .grid-container2 {
        display: flex;
        gap: 15px;
        align-items: center;
        justify-content: center;
        position: static; 
        bottom: 10px;
    } 


    .component {
        height: 90px;
        position: relative;
        display: flex;
        align-items: center;
    }


    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        width: 70px;
        height: 70px;
        position: relative;
        float: none;
        margin-right: -35px;
        z-index: 2;
    }

    .sirkel i {
        font-size: 40px;
        top: 15px;
        position: relative;
        color: #421a00;
    }

    .block {
        border-radius: 6px;
        background-color: #debc8d;
        border: solid #421a00 2px;
        position: relative;
        left: 0;
        top: 0;
        height: 50px;
        width: fit-content;
        padding-left: 10px;
        display: flex;
        align-items: center;
        z-index: -1;
    }
    .block h2 {
        color: #421a00;
        text-align: center;
        margin: 0;
        font-size: 1.2em;
        white-space: nowrap;
    }
    .button {
        font-size: 1em;
        padding: 10px;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease-out;
    }
    
    .button:hover {
        transform: scale(1.1);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
        cursor: pointer;
    }
    
    .overlay:target {
        visibility: visible;
        opacity: 1;
    }
    
    .popup {
        margin: 70px auto;
        padding: 20px;
        background: #debc8d;
        border-radius: 5px;
        width: 1500px;
        position: relative;
        transition: all 5s ease-in-out;
        cursor: default;
    }
    
    .popup h2 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        text-align: center;
        width: 100%;
        font-size: 50px;
    }
    
    .popup h3 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        font-size: 45px;
    }
    .popup p, li{
        font-size: 35px;
    }
    
    .popup .close {
        position: absolute;
        top: 20px;
        right: 50px;
        transition: all 200ms;
        font-size: 50px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }
    
    .popup .close:hover {
        color: #421a00;
    }
    
    .popup .content {
        max-height: 100%;
        overflow: auto;
        width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
    .content a{
        text-decoration: none;
    }
    .content iframe{
        width: 1200px;
        height: 500px;
    }
    
    a.tel-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    a.email-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    .apply-section {
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
    }
    
    .apply-section:hover {
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    }
    
    a.apply-section {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .option a {
        text-decoration: none;
        color: #421a00;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .option a:hover {
        text-decoration: none;
        color: #421a00;
    }
    
    .option:hover a {
        width: 400px;
        display: flex;
        justify-content: flex-start;
        padding-left: 25px;
    }
    
    .popup.assessment-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.assessment-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.assessment-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Contact popup styles */
    .popup.contact-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.contact-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.contact-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* About popup styles */
    .popup.about-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.about-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.about-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* More Info popup styles */
    .popup.moreinfo-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.moreinfo-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.moreinfo-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Forms popup styles */
    .popup.forms-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.forms-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.forms-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Parental popup styles */
    .popup.parental-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.parental-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.parental-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Play popup styles */
    .popup.play-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.play-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.play-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Style for links in the content area */
    .popup .content a {
        text-decoration: none;
        color: #002c7e;
        font-weight: bold;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .popup .content a:hover {
        color: #00642a;
        text-decoration: none;
    }
    
    /* Create underline animation effect */
    .popup .content a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #00642a;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease;
    }
     
    .popup .content a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    
    /* Keep existing styles for tel-link and email-link but update their hover states */
    a.tel-link, a.email-link {
        color: #002c7e !important;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
    }
    
    a.tel-link:hover, a.email-link:hover {
        color: #00642a !important;
        text-decoration: none;
    }
}

@media only screen and (min-width: 1744px) and (max-width: 2604px) {
    body {
        background-image: url("images/MainBackground.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
      }

    .hero-text {
        position: fixed;
        left: 350px;
        color: #421a00;
        font-size: 40px;
        padding: 20px 40px;
        background: rgba(222, 188, 141, 0.9);
        border-radius: 15px;
        border: 3px solid #421a00;
        box-shadow: 0 4px 15px rgba(66, 26, 0, 0.3);
        text-shadow: 2px 2px 4px rgba(66, 26, 0, 0.2);
    }

    .hero-text h1 {
        padding-left: 0;
        margin: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        font-weight: bold;
    }


    section {
        margin: 0;
    }

    .grid-container1 {
        display: grid;
        grid-template-columns: auto;
        gap: 15px;
        opacity: 1;
        position: fixed;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(66, 26, 0, 0.6);
        padding: 20px;
        border-radius: 20px;
        overflow: visible;
        width: 90px;
        height: fit-content;
    }


    .option {
        width: 60px;
        height: 60px;
        border-radius: 30px;
        padding: 15px;
        font-size: 1.5em;
        cursor: pointer;
        overflow: hidden;
        white-space: nowrap;
        transition: all 0.5s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background-color: #debc8d;
        border: solid #421a00 2px;
        z-index: 2;
    }

    .option:nth-child(2),
    .option:nth-child(3),
    .option:nth-child(4) {
        background-color: #debc8d;
    }

    .option:hover {
        width: 430px;
        padding-right: 30px;
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 3;
        background-color: #e5c89c;
        transform: translateX(20px);
    }

    .option i {
        font-size: 1.5em;
        color: #421a00;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.5s ease;
    }

    .option-text {
        color: #421a00;
        font-weight: bold;
        font-size: 1.2em;
        opacity: 0;
        transition: opacity 0.3s ease;
        margin-left: 45px;
        z-index: 3;
    }

    .option:hover i {
        left: 25px;
        transform: translateX(0);
    }

    .option:hover .option-text {
        opacity: 1;
    }

    .option h2 {
        display: none;
    }

  

    

    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: absolute;

    }

    .sirkel i {
        font-size: 56px;
        position: relative;
        top: 13px;
        color: #421a00;

    }

   

    .logoImg {
        height: 90px;
        width: 90px;
    }

    .logo {
        border-radius: 50%;
        background-color: #debc8d;
        width: 87px;
        height: 90px;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: fixed;
        top: 15px;
        right: 200px;
    }

    .logo-block {
        border-radius: 6px;
        background-color: #debc8d;
        width: fit-content;
        height: 70px;
        border: solid #421a00 2px;
        position: fixed;
        top: 25px;
        right: 30px;
        z-index: -1;
    }

    .logo-block h2 {
        color: #421a00;
        text-align: center;
    }

    /* Add new navigation container */
    .nav-container {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(66, 26, 0, 0.6);

        border-radius: 20px;
        /* border: 2px solid #421a00; */
        display: flex;
        gap: 15px;
        align-items: center;
        width: fit-content;
        max-width: 90%;
    }

    /* Update grid container to work within nav-container */
    .grid-container2 {
        display: flex;
        gap: 15px;
        align-items: center;
        justify-content: center;
        position: static; 
        bottom: 10px;
    } 


    .component {
        height: 90px;
        position: relative;
        display: flex;
        align-items: center;
    }


    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        width: 70px;
        height: 70px;
        position: relative;
        float: none;
        margin-right: -35px;
        z-index: 2;
    }

    .sirkel i {
        font-size: 40px;
        top: 15px;
        position: relative;
        color: #421a00;
    }

    .block {
        border-radius: 6px;
        background-color: #debc8d;
        border: solid #421a00 2px;
        position: relative;
        left: 0;
        top: 0;
        height: 50px;
        width: fit-content;
        padding-left: 10px;
        display: flex;
        align-items: center;
        z-index: -1;
    }
    .block h2 {
        color: #421a00;
        text-align: center;
        margin: 0;
        font-size: 1.2em;
        white-space: nowrap;
    }
    .button {
        font-size: 1em;
        padding: 10px;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease-out;
    }
    
    .button:hover {
        transform: scale(1.1);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
        cursor: pointer;
    }
    
    .overlay:target {
        visibility: visible;
        opacity: 1;
    }
    
    .popup {
        margin: 70px auto;
        padding: 20px;
        background: #debc8d;
        border-radius: 5px;
        width: 1000px;
        position: relative;
        transition: all 5s ease-in-out;
        cursor: default;
    }
    
    .popup h2 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        text-align: center;
        width: 100%;
    }
    
    .popup h3 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
    }
    .popup p, li{
        font-size: 20px;
    }
    
    .popup .close {
        position: absolute;
        top: 20px;
        right: 30px;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }
    
    .popup .close:hover {
        color: #421a00;
    }
    
    .popup .content {
        max-height: 100%;
        overflow: auto;
        width: 800px;
        margin: 0 auto;
        padding: 20px;
    }
    .content a{
        text-decoration: none;
    }
    .content iframe{
        width: 800px;
        height: 500px;
    }
    a.tel-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    a.email-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    .apply-section {
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
    }
    
    .apply-section:hover {
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    }
    
    a.apply-section {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .option a {
        text-decoration: none;
        color: #421a00;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .option a:hover {
        text-decoration: none;
        color: #421a00;
    }
    
    .option:hover a {
        width: 400px;
        display: flex;
        justify-content: flex-start;
        padding-left: 25px;
    }
    
    .popup.assessment-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.assessment-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.assessment-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Contact popup styles */
    .popup.contact-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.contact-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.contact-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* About popup styles */
    .popup.about-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.about-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.about-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* More Info popup styles */
    .popup.moreinfo-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.moreinfo-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.moreinfo-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Forms popup styles */
    .popup.forms-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.forms-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.forms-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Parental popup styles */
    .popup.parental-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.parental-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.parental-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Play popup styles */
    .popup.play-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.play-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.play-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Style for links in the content area */
    .popup .content a {
        text-decoration: none;
        color: #002c7e;
        font-weight: bold;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .popup .content a:hover {
        color: #00642a;
        text-decoration: none;
    }
    
    /* Create underline animation effect */
    .popup .content a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #00642a;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease;
    }
    
    .popup .content a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    
    /* Keep existing styles for tel-link and email-link but update their hover states */
    a.tel-link, a.email-link {
        color: #002c7e !important;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
    }
    
    a.tel-link:hover, a.email-link:hover {
        color: #00642a !important;
        text-decoration: none;
    }
}

@media only screen and (min-width: 1164px) and (max-width: 1744px) {
    body {
        background-image: url("images/MainBackground.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
      }

    .hero-text {
        position: fixed;
        left: 15px;
        color: #421a00;
        font-size: 30px;
        padding: 20px 40px;
        background: rgba(222, 188, 141, 0.9);
        border-radius: 15px;
        border: 3px solid #421a00;
        box-shadow: 0 4px 15px rgba(66, 26, 0, 0.3);
        text-shadow: 2px 2px 4px rgba(66, 26, 0, 0.2);
    }

    .hero-text h1 {
        padding-left: 0;
        margin: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        font-weight: bold;
    }


    section {
        margin: 0;
    }

    .grid-container1 {
        display: grid;
        grid-template-columns: auto;
        gap: 15px;
        opacity: 1;
        position: fixed;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(66, 26, 0, 0.6);
        padding: 20px;
        border-radius: 20px;
        overflow: visible;
        width: 90px;
        height: fit-content;
    }


    .option {
        width: 60px;
        height: 60px;
        border-radius: 30px;
        padding: 15px;
        font-size: 1.5em;
        cursor: pointer;
        overflow: hidden;
        white-space: nowrap;
        transition: all 0.5s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background-color: #debc8d;
        border: solid #421a00 2px;
        z-index: 2;
    }

    .option:nth-child(2),
    .option:nth-child(3),
    .option:nth-child(4) {
        background-color: #debc8d;
    }

    .option:hover {
        width: 430px;
        padding-right: 30px;
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 3;
        background-color: #e5c89c;
        transform: translateX(20px);
    }

    .option i {
        font-size: 1.5em;
        color: #421a00;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.5s ease;
    }

    .option-text {
        color: #421a00;
        font-weight: bold;
        font-size: 1.2em;
        opacity: 0;
        transition: opacity 0.3s ease;
        margin-left: 45px;
        z-index: 3;
    }

    .option:hover i {
        left: 25px;
        transform: translateX(0);
    }

    .option:hover .option-text {
        opacity: 1;
    }

    .option h2 {
        display: none;
    }

  

    

    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: absolute;

    }

    .sirkel i {
        font-size: 56px;
        position: relative;
        top: 13px;
        color: #421a00;

    }

   

    .logoImg {
        height: 90px;
        width: 90px;
    }

    .logo {
        border-radius: 50%;
        background-color: #debc8d;
        width: 87px;
        height: 90px;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: fixed;
        top: 15px;
        right: 200px;
    }

    .logo-block {
        border-radius: 6px;
        background-color: #debc8d;
        width: fit-content;
        height: 70px;
        border: solid #421a00 2px;
        position: fixed;
        top: 25px;
        right: 30px;
        z-index: -1;
    }

    .logo-block h2 {
        color: #421a00;
        text-align: center;
    }

    /* Add new navigation container */
    .nav-container {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(66, 26, 0, 0.6);

        border-radius: 20px;
        /* border: 2px solid #421a00; */
        display: flex;
        gap: 15px;
        align-items: center;
        width: fit-content;
        max-width: 90%;
    }

    /* Update grid container to work within nav-container */
    .grid-container2 {
        display: flex;
        gap: 15px;
        align-items: center;
        justify-content: center;
        position: static; 
        bottom: 10px;
    } 


    .component {
        height: 90px;
        position: relative;
        display: flex;
        align-items: center;
    }


    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        width: 70px;
        height: 70px;
        position: relative;
        float: none;
        margin-right: -35px;
        z-index: 2;
    }

    .sirkel i {
        font-size: 40px;
        top: 15px;
        position: relative;
        color: #421a00;
    }

    .block {
        border-radius: 6px;
        background-color: #debc8d;
        border: solid #421a00 2px;
        position: relative;
        left: 0;
        top: 0;
        height: 50px;
        width: fit-content;
        padding-left: 10px;
        display: flex;
        align-items: center;
        z-index: -1;
    }
    .block h2 {
        color: #421a00;
        text-align: center;
        margin: 0;
        font-size: 1.2em;
        white-space: nowrap;
    }
    .button {
        font-size: 1em;
        padding: 10px;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease-out;
    }
    
    .button:hover {
        transform: scale(1.1);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
        cursor: pointer;
    }
    
    .overlay:target {
        visibility: visible;
        opacity: 1;
    }
    
    .popup {
        margin: 70px auto;
        padding: 20px;
        background: #debc8d;
        border-radius: 5px;
        width: 1000px;
        position: relative;
        transition: all 5s ease-in-out;
        cursor: default;
    }
    
    .popup h2 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        text-align: center;
        width: 100%;
    }
    
    .popup h3 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
    }
    .popup p, li{
        font-size: 20px;
    }
    
    .popup .close {
        position: absolute;
        top: 20px;
        right: 30px;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }
    
    .popup .close:hover {
        color: #421a00;
    }
    
    .popup .content {
        max-height: 100%;
        overflow: auto;
        width: 800px;
        margin: 0 auto;
        padding: 20px;
    }
    .content a{
        text-decoration: none;
    }
    .content iframe{
        width: 800px;
        height: 500px;
    }
    a.tel-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    a.email-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    .apply-section {
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
    }
    
    .apply-section:hover {
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    }
    
    a.apply-section {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .option a {
        text-decoration: none;
        color: #421a00;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .option a:hover {
        text-decoration: none;
        color: #421a00;
    }
    
    .option:hover a {
        width: 400px;
        display: flex;
        justify-content: flex-start;
        padding-left: 25px;
    }
    
    .popup.assessment-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.assessment-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.assessment-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Contact popup styles */
    .popup.contact-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.contact-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.contact-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* About popup styles */
    .popup.about-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.about-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.about-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* More Info popup styles */
    .popup.moreinfo-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.moreinfo-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.moreinfo-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Forms popup styles */
    .popup.forms-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.forms-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.forms-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Parental popup styles */
    .popup.parental-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.parental-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.parental-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Play popup styles */
    .popup.play-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.play-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.play-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Style for links in the content area */
    .popup .content a {
        text-decoration: none;
        color: #002c7e;
        font-weight: bold;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .popup .content a:hover {
        color: #00642a;
        text-decoration: none;
    }
    
    /* Create underline animation effect */
    .popup .content a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #00642a;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease;
    }
    
    .popup .content a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    
    /* Keep existing styles for tel-link and email-link but update their hover states */
    a.tel-link, a.email-link {
        color: #002c7e !important;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
    }
    
    a.tel-link:hover, a.email-link:hover {
        color: #00642a !important;
        text-decoration: none;
    }
}


@media only screen and (max-width: 1164px) {
    body {
        background-image: url("images/MainBackground.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
      }

    .hero-text {
        position: fixed;
        left: 2px;
        color: #421a00;
        font-size: 10px;
        padding: 20px 40px;
        background: rgba(222, 188, 141, 0.9);
        border-radius: 15px;
        border: 3px solid #421a00;
        box-shadow: 0 4px 15px rgba(66, 26, 0, 0.3);
        text-shadow: 2px 2px 4px rgba(66, 26, 0, 0.2);
    }

    .hero-text h1 {
        padding-left: 0;
        margin: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        font-weight: bold;
    }


    section {
        margin: 0;
    }

    .grid-container1 {
        display: grid;
        grid-template-columns: auto;
        gap: 0px;
        opacity: 1;
        position: fixed;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(66, 26, 0, 0.6);
        padding: 8px;
        border-radius: 20px;
        overflow: visible;
        width: 90%;
        height: fit-content;
    }


    .option {
        width: 90%;
        height: 10%;
        border-radius: 30px;
        padding: 15px;
        font-size: 1.5em;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background-color: #debc8d;
        border: solid #421a00 2px;
        z-index: 2;
    }



 

    .option i {
        font-size: 1.5em;
        color: #421a00;
        position: absolute;
        left: 50%;
       opacity: 0;
        transition: all 0.5s ease;
    }

    .option-text {
        color: #421a00;
        font-weight: bold;
        font-size: 20px;
        z-index: 3;
    }



    .option h2 {
        display: none;
    }

  

    

    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: absolute;

    }

    .sirkel i {
        font-size: 56px;
        position: relative;
        top: 13px;
        color: #421a00;

    }

   

    .logoImg {
        height: 50px;
        width: 50px;
    }

    .logo {
        border-radius: 50%;
        background-color: #debc8d;
        width: 50px;
        height: 50px;
        text-align: center;
        border: solid #421a00 2px;
        float: left;
        position: fixed;
        top: 90px;
        left: 2px;
    }

    .logo-block {
        border-radius: 6px;
        background-color: #debc8d;
        width: fit-content;
        height: 40px;
        border: solid #421a00 2px;
        position: fixed;
        top: 95px;
        left: 40px;
        z-index: -1;
    }

    .logo-block h2 {
        color: #421a00;
        text-align: center;
        font-size: 15px;
    }

    /* Add new navigation container */
    .nav-container {
        position: fixed;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(66, 26, 0, 0.6);
        border-radius: 20px;
        display: flex;
        gap:0px;
        align-items: center;
        width: fit-content;
        max-width: 98%;
        padding-left: 10px;
    }

    /* Update grid container to work within nav-container */
    .grid-container2 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 0px;
        height: 100px;
        align-items: center;
        justify-content: center;
        position: static; 
        bottom: 5px;
        width: 100%;
       
    } 


    .component {
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }


    .sirkel {
        border-radius: 50%;
        background-color: #debc8d;
        text-align: center;
        border: solid #421a00 2px;
        width: 30px;
        height: 30px;
        position: relative;
        float: none;
        margin-top: -55px;
        margin-right: -45px;
        z-index: 2;
    }

    .sirkel i {
        font-size: 20px;
        top: 5px;
        position: relative;
        color: #421a00;
    }

    .block {
        border-radius: 6px;
        background-color: #debc8d;
        border: solid #421a00 2px;
        position: relative;
        left: 0;
        top: 0;
        height: 35px;
        width: fit-content;
        display: flex;
        align-items: center;
        z-index: -1;
    }
    .block h2 {
        color: #421a00;
        text-align: left;
        margin-left: -15px;
        margin: 0;
        font-size: 11px;
        white-space: nowrap;
    }
    .button {
        padding: 7px;
        text-decoration: none;
        cursor: pointer;
    }
    
  
    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
        cursor: pointer;
    }
    
    .overlay:target {
        visibility: visible;
        opacity: 1;
    }
    
    .popup {
       
        padding: 5px;
        background: #debc8d;
        border-radius: 5px;
        height: 100%;
        width: 100%;
        position: relative;
        transition: all 5s ease-in-out;
        cursor: default;
        overflow-y: scroll;
    }
    
    .popup h2 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
        text-align: center;
        width: 100%;
    }
    
    .popup h3 {
        margin-top: 0;
        color: #421a00;
        font-family: Tahoma, Arial, sans-serif;
    }
    .popup p, li{
        font-size: 20px;
    }
    
    .popup .close {
        position: absolute;
        top: 20px;
        right: 30px;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }
    
    .popup .close:hover {
        color: #421a00;
    }
    
    .popup .content {
        max-height: 100%;
        overflow: auto;
        width: 85%;
        margin: 0 auto;
        
    }
    .content a{
        text-decoration: none;
    }
    .content iframe{
        width: 95%;
        height: 250px;
    }
    a.tel-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    a.email-link {
        color: blue;
        text-decoration: none;
        font-weight: bold;
    }
    
    .apply-section {
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
    }
    
    .apply-section:hover {
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    }
    
    a.apply-section {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .option a {
        text-decoration: none;
        color: #421a00;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .popup.assessment-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.assessment-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.assessment-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Contact popup styles */
    .popup.contact-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.contact-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.contact-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* About popup styles */
    .popup.about-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.about-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.about-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* More Info popup styles */
    .popup.moreinfo-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.moreinfo-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.moreinfo-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Forms popup styles */
    .popup.forms-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.forms-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.forms-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Parental popup styles */
    .popup.parental-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.parental-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.parental-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Play popup styles */
    .popup.play-popup {
        background-image: url('images/ModalBackground.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #debc8d !important;
    }
    
    .popup.play-popup .content {
        background: rgba(222, 188, 141, 0.9);
        padding: 20px;
        border-radius: 5px;
    }
    
    .popup.play-popup h2 {
        background: rgba(222, 188, 141, 0.9);
        padding: 10px;
        border-radius: 5px;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
    
    /* Style for links in the content area */
    .popup .content a {
        text-decoration: none;
        color: #002c7e;
        font-weight: bold;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .popup .content a:hover {
        color: #00642a;
        text-decoration: none;
    }
    
    /* Create underline animation effect */
    .popup .content a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: -2px;
        left: 0;
        background-color: #00642a;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease;
    }
    
    .popup .content a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    
    /* Keep existing styles for tel-link and email-link but update their hover states */
    a.tel-link, a.email-link {
        color: #002c7e !important;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
    }
    
    a.tel-link:hover, a.email-link:hover {
        color: #00642a !important;
        text-decoration: none;
    }
}


@media screen and (max-width: 700px) {

}