@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

}

body {
    overflow: auto;
    background-color: #e8e5e4;
}

.home {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.home .main-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    z-index: -9999;
    
}

nav {
    justify-content: end;
    width: 100%;
    flex: 1;
    top: 0;
    left: 0;
    z-index: 9999;
}



.home .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    height: 60px;
    backdrop-filter: blur(1px) brightness(95%);
    z-index: -9999;
}

.logo {
    color: black;
    font-weight: bold;
    padding: 5px;
    margin-left: 10px;
    transition: 0.3s linear;
}

.logo::before {
    content: "BASC DORMITORY OPERATIONS MANAGEMENT SYSTEM";
    font-size: 1.2rem;

}

.content h1, .typewriter {
    color: black;
}

.hamburg,
.cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.2rem, 0.5rem + 5vw, 1rem);
}

.nav-container .links {
    display: flex;
    margin-top: 5px;
}

.nav-container .links a {
    position: relative;
    font-size: 1.3rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s linear;
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ABCA9E !important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s linear;
}

.nav-container .links a:hover::before {
    transform: scaleX(1);
}


.home .container {
    padding: 10px;
}

.home-left{
    margin-top: 10px
}



.dropdown {
    position: absolute;
    top: 0;
    right: 0%;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
}

.dropdown .links a {
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #3e5238;
}

section {
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
}

.home .main-container {
    padding: 4px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 90px;
    z-index: -9999;
}

.button-scroll-up {
    position: fixed;
    left: 90%;
    bottom: 20px;
    opacity: 0;
    visibility: hidden;
    background-color: #769769;
    color: white;
    padding: 8px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    z-index: 99999;
    width: 60px;
    height: 60px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;

}

.button-scroll-up.show {
    opacity: 1;
    visibility: visible;
}

.button-scroll-up:hover {
    transform: scale(1.1);
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
}


[data-aos^="fade"][data-aos^="fade"] {
    transform: translateY(0) !important;
}

[data-aos="fade-left"],
[data-aos="fade-right"] {
    transform: translateY(0) !important;
}

.home .main-container .image img {
    height: 62%;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.home .main-container .image:hover img {
    transform: scale(1.0);
    transform-origin: center;
}

.home .main-container .image:hover {
    animation: animate 1.5s ease-in-out;
}



.home .main-container p {
    color: black;
    font-size: 0.90rem;
}

.home .main-container .content {
    color: white;
    width: 50%;
    min-height: 100px;
}

.home .content h1 {
    font-size: 2rem;
}

.home .content h1 span {

    text-shadow: 0 0 1px #077b32;
}

.home .content .typewriter {
    font-size: clamp(0.90rem, 0.90rem + 3vw, 2rem);
}

.home .content .typewriter-text {
    text-shadow: 0 0 1px #077b32;
}

.home .content p {
    font-size: clamp(0.4rem, 0.2rem + 8vw, 1rem);
    margin: 5px 0;
}

.home .social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #077b32;
    border-radius: 50%;
    color: #077b32;
    margin: 0 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.home .social-links i:hover {
    scale: 1.3;
    color: black;
    background-color: #077b32;
    filter: drop-shadow(0 0 10px #077b07);
}

.button-navigation .btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1px;
    transition: 0.2s linear;
}




.home .content .btn {
    transition: 0.2s linear;
}

.btn1, .btn2 {
    display: inline-flex;
    width: 80%;
    height: auto;
    margin: 30px;
    border: none;
    outline: none;
    font-size: 100%;
    font-weight: 700;
    border-radius: 5px;
    padding: 5px 5px;
    justify-content: center;
    text-align: center;
    transition: 0.2s linear background-color, 0.2s linear color, 0.2s linear border, 0.2s linear transform, 0.2s linear box-shadow;
     text-decoration: none; 
}

.btn1 {
    background-color: white;
    border: 2px solid #769769;
    color: #769769;
    display: none;
    text-decoration: none; 
}

.btn2 {
    background-color: #6a7f6a;
    color: white;
    display: none;
    text-decoration: none !important; 
     outline: none; 
    
}

.btn1:hover {
    transform: scale(1.1);
    color: #077b32;
    border: 2px solid #077b32;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #077b32;
}

.btn2:hover {
    transform: scale(1.1);
    border: 2px solid #6a7f6a;
    background-color: #6a7f6a;
    font-weight: 700;
    box-shadow: 0 0 40px #077b32;
}

/* Container */




.Dormitory {
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.Dormitory .slide-img {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide-img img {
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 8px;
}

.Dormitory .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 10%;
    transition: background 0.3s;
}

.Dormitory .nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.Dormitory .nav-btn.prev {
    left: 5px;
}

.Dormitory .nav-btn.next {
    right: 5px;
}

/*-----------------------MAnager page-------------------*/
.manager-section {
    padding: 4rem 0;
    margin: 0;
    height: auto;
}

.manager-section .main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.manager-section .content {
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.manager-section .manager-image {
    margin-bottom: 1.5rem;
}

.manager-section .manager-image img {
    border-radius: 50%;
    border: 4px solid #4CAF50;
}



.manager-section .content h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}


.manager-section .content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}




/* ------------------Dorm Manager Page-----------------   */

.Dorm-manager-page {

    height: auto;
    margin: 0;
    overflow: hidden;
    z-index: 100;
}

.Dorm-manager-page section {
    height: auto;
}

.Dorm-manager-page .content {
    align-items: center;
    padding-bottom: 100px;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: auto;
}


.Dorm-manager-page .card {
    width: 340px;
    height: auto;
    min-height: 360px;
    transform-style: preserve-3d;
    transition: transform .4s ease-in-out;
    border: 1px solid #ccc;
    box-shadow: 10px 10px rgba(0, 0, 0, 0.2),
        -5px -5px 10px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
}

.Dorm-manager-page .card:hover {
    transform: scale(1.0);
    background-color: #769769;
}

.Dorm-manager-page .card:hover .card-title,
.Dorm-manager-page .card:hover .card-subtitle {
    color: white;
    transition: color 0.3s ease-in-out;
}




.Dorm-manager-page .card-dorm:hover {
    transform: scale(1.1);
    background-color: #769769;
    color: white;
}

.Dorm-manager-page .card-dorm-info .card-title ul {
    text-align: left;
}

.Dorm-manager-page .card-info {
    padding: 30px;
    color: black;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.Dorm-manager-page .card-dorm-info {
    padding: 30px;
    color: black;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.Dorm-manager-page .card-dorm-goal {
    padding: 30px;
    color: black;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.Dorm-manager-page .card-title {
    text-align: center;

}

.Dorm-manager-page .card-title {
    font-size: 1.9rem;
    font-weight: bold;
}

.Dorm-manager-page .card-subtitle {
    font-size: 0.70rem;
    color: black;
}



.Dorm-manager-page .card-content {
    text-align: center;
    padding: 20px;
    max-width: 400px;
}

.Dorm-manager-page .card-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.Dorm-manager-page .card-description {
    font-size: 0.85rem;
    color: black;
    margin-bottom: 20px;
    line-height: 1.6;
}

.Dorm-manager-page .card-button {
    background-color: #0fbcf9;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3 ease;
}

.Dorm-manager-page p .card-button:hover {
    background-color: transparent;
     color: #769769;
    border: 1px solid #007BFF;
}

/* ---------------------------------------------------   */
/* ------------------Contact Us-----------------   */


.contact-us {
    z-index: -9999;
    position: relative;
    min-height: 60vh;
    overflow: hidden;
    background-color: lightgray;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px;
    /* ✅ ensures footer spacing */
}

.contact-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(6px);
    transform: scale(1.1);
    z-index: -1;
}

.contact-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px 20px 0;
}

.contact-section h1 {
    font-size: clamp(1.3rem, 4vw, 2.2rem);
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-info-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.contact-info-basc,
.contact-info-admission,
.contact-info-Registrar {
    margin-top: 20px;
    color: #333;
    font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    line-height: 1.8;
    padding: 10px 25px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.3);
}

.contact-info-basc a,
.contact-info-admission a,
.contact-info-Registrar a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-basc a:hover,
.contact-info-admission a:hover,
.contact-info-Registrar a:hover {
    color: #000;
}

.contact-info-container i {
    margin-right: 8px;
    color: #333;
}



.foot-footer h1 {
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: #333;
    margin: 0;
}

.footer-text {
    font-size: 1.30rem;
    margin-top: 20px;
}

/*
.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-footer:hover {
    transform: scale(1.1);
    color: #007BFF;
}

.contact-footer i {
    font-size: 15px;
    color: #555;
    transition: color 0.3s ease;
}

.contact-footer h5 {
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 1px;

}

.contact-footer:hover i {
    color: #007BFF;
}

.footer-footer {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-top: 5px;
}

/* ---------------------------------------------------   */
@keyframes animate {
    0% {
        scale: 1
    }

    50% {
        scale: 1.05;
    }

    100% {
        scale: 1;
    }
}

@media (max-width: 1280px) {
    .logo::before {
        content: "BASC DORMITORY OPERATIONS MANAGEMENT SYSTEM";
        font-size: 1rem;
    }

    .nav-container .links a {
        font-size: 1rem;

    }



    .Dorm-manager-page .card {
        width: 310px;
        height: 350px;
    }



    .Dorm-manager-page .card-dorm {
        width: 550px;
    }

    .Dorm-manager-page .card-info {
        padding: 20px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 20px;

    }

    .Dorm-manager-page .card-description {
        font-size: 0.92rem;
        color: black;
        margin-bottom: 10px;
        line-height: 1.6;
    }
}

@media (max-width: 1198px) {

    .Dorm-manager-page .card {
        width: 400px;
        min-height: 360px;
        height: auto;
    }


    .Dorm-manager-page .card-info {
        padding: 20px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 20px;

    }

    .Dorm-manager-page .card-dorm-goal {
        padding: 20px;
    }

    .Dorm-manager-page .card-content h3 {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 10px;
    }


}

@media (max-width: 1104px) {

    .nav-container .links a {
        font-size: 0.85rem;
        margin: 0 15px
    }

    .Dorm-manager-page {

        height: 70vh;
        z-index: 100;
    }

    .Dorm-manager-page .card {
        width: 270px;
        min-height: 360px;
         height: auto;
    }
    
    .Dorm-manager-page .card-subtitle {
        font-size: 0.60rem;
    }


    .Dorm-manager-page .card-info {
        padding: 20px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 20px;

    }

    .Dorm-manager-page .card-dorm-goal {
        padding: 20px;
    }

    .Dorm-manager-page .card-title {
        font-size: 1.20rem;
        font-weight: bold;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.85rem;
    }


}

@media (max-width: 1075px){
    .Dorm-manager-page .card {
        width: 290px;
        min-height: 420px;
         height: auto;
    }

    p.card-subtitle {
        font-size: 10px;
    }
    
    .card-info{
        font-size: 0.50rem;
    }
}

@media (max-width: 946px) {
    .logo::before {
        font-size: 1rem;
    }

    .logo {
        font-size: 0.65rem;
    }

    .nav-container .links a {
        font-size: 0.80rem;
        margin: 0 10px;
    }

    .home .main-container .image img {
        width: 290px;
        height: 70%;

    }

    .main-container .image {
        z-index: -1000;
    }

    .Dorm-manager-page .card {
        width: 280px;
        min-height: 400px;
         height: auto;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.30rem;
    }

    .Dorm-manager-page .card-info {
        padding: 20px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 20px;

    }

    .Dorm-manager-page .card-dorm-goal {
        padding: 20px;
    }

    .Dorm-manager-page .card-title {
        font-size: 1.2rem;
        font-weight: bold;
    }


}

@media (max-width: 884px) {

    .logo {
        font-size: 0.65rem;
    }

    .nav-container .links a {
        font-size: 0.70rem;

    }

    .home .main-container {
        padding: 30px;
        width: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .home .main-container .image {
        justify-content: center;
        width: auto;
        min-width: 120px;
        padding-top: 0px;
        z-index: -1;
    }

    .home .main-container .image img {
        width: 250px;
        height: auto;
        min-height: 50%;

    }

    .home .main-container .content {
        width: 90%;
    }

    .nav-container .links {
        display: none;
    }

    .hamburg,
    .cancel {
        display: block;
    }
    
    .btn1 {
    background-color: white;
    border: 2px solid #769769;
    color: #769769;
    display: block;
    text-decoration: none; 
}

.btn2{
     display: block;
      text-decoration: none !important; 
}

.btn1:hover,
.btn1:focus {
    text-decoration: none; 
}
.btn2,
.btn2:hover,
.btn2:active,
.btn2:focus {
    text-decoration: none !important;
    color: white; 
}

button.btn2 {
    text-decoration: none !important;
}


    .social-links {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .social-links {
        display: flex;
    }

    .Service-social-links {
        flex-direction: column;
    }

    .Dorm-manager-page {

        height: 70vh;
        margin: 30px 80px;
        overflow: hidden;
        z-index: 100;
    }

    .Dorm-manager-page .card {
        margin-top: 15px;
        width: 270px !important;
        min-height: 430px;
         height: auto;
    }

    .Dorm-manager-page content {
        padding-top: 200px;

    }

    .Dorm-manager-page .card-info {
        padding: 20px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 20px;

    }

    .Dorm-manager-page .card-dorm-goal {
        padding: 20px;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.55rem;
        color: black;
    }



    .contact-info-basc,
    .contact-info-admission,
    .contact-info-Registrar {

        font-size: 0.80rem;
        line-height: 1.8;
    }

    .foot-footer h1 {
        font-size: 0.90rem;
        color: #333;
        margin: 0;
    }


}



@media (max-width: 835px) {

    .home section {
        padding-top: 10px;

    }

    .Dormitory {

        height: auto;
        padding-top: 60px;
        overflow: hidden;
        z-index: 100;
    }




    .Dorm-manager-page {
        height: 110dvh;
        justify-content: center;
        align-items: center;
    }

    .Dorm-manager-page .content {
        width: 100%;
        flex-direction: column !important;
        justify-content: start !important;
        align-items: center !important;
        margin-bottom: 20px;
        padding: 0;
    }

    .Dorm-manager-page .card {
        width: 470px !important;
        min-height: 260px !important;
        margin-bottom: 20px;
         height: auto;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.90rem;
    }
}

@media (max-width: 768px) {
    .home .main-container {
        flex-direction: column;
    }
    
    .home-left{
        margin-top: 0;
    }

    .Dormitory .slide-img img {
        width: 100%;
        height: auto;
    }


}

@media (max-width: 750px) {
    .Dorm-manager-page {
        height: 110dvh;
    }

    .Dorm-manager-page .card {
        width: 420px !important;
        min-height: 280px !important;
        margin-bottom: 20px;
         height: auto;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.85rem;
    }

    .contact-section h1 {
        color: #333;
        font-weight: bold;
        margin-top: 10px;

    }

    .footer-text {
        font-size: 1.20rem;

    }

}



@media (max-width: 655px) {

    .logo::before {
        content: "BASC DOMS";
        font-size: 1.1rem;
        text-align: center;
    }

    .home .main-container .image img {
        width: 200px;
        height: 190px;

    }

    .button-navigation .btn {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .home .content button {
        margin: 8px;
        padding: 5px 30px;
        width: 90%;
    }

    .Service-social-links i {
        width: 5.5rem;
        height: 4rem;
        font-size: 1rem;
        margin: 0 2px 10px;

    }

    .Dorm-manager-page {
        height: 110dvh;
    }

    .Dorm-manager-page .card {
        width: 420px;
        min-height: 280px;
        margin-bottom: 20px;
         height: auto;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.85rem;
    }




    .Dorm-manager-page .card-info {
        padding: 20px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 20px;

    }

    .Dorm-manager-page .card-dorm-goal {
        padding: 20px;
    }


    .contact-info-basc,
    .contact-info-admission,
    .contact-info-Registrar {
        margin-top: 10px;
        font-size: 0.80rem;
        line-height: 1.8;
    }

    .footer-text {
        font-size: 1.10rem;
    }

    .button-scroll-up {
        position: fixed;
        left: 86%;
        bottom: 10px;
        font-size: 0.90rem;
        padding: 5px;
        width: 50px;
        height: 50px;
        z-index: 9999;

    }

}

@media (max-width: 594px) {

    .home .content p {
        font-size: 1rem;
    }

    .manager-section .content {
        width: 100%;
        max-width: 400px;
    }



    .Dorm-manager-page .content {
        align-items: center;
        padding-top: 60px;
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }

    .Dorm-manager-page .card {
        width: 340px !important;
        min-height: 280px !important;
        margin-bottom: 20px;
         height: auto;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.75rem;
    }



    .Dorm-manager-page .card-info {
        padding: 10px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 10px;
    }

    .Dorm-manager-page .card-dorm-goal ul.card-subtitle {
        margin-left: 10px;
    }

    .Dorm-manager-page .card-dorm-goal {
        padding: 10px;
    }


    .contact-info-basc,
    .contact-info-admission,
    .contact-info-Registrar {

        font-size: 0.80rem;
        line-height: 1.4;
    }

}


@media (max-width: 492px) {

    .home section {
        padding-top: 5px;

    }

    .manager-section .content {
        width: 100%;
        max-width: 350px;

    }

    .Dorm-manager-page .content {
        width: auto;
        padding-top: 52px;
    }

    .Dorm-manager-page .card {
        width: 340px !important;
        min-height: 280px !important;
        margin-bottom: 20px;
         height: auto;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.75rem;
    }

    .Dorm-manager-page .card-dorm:hover {
        transform: scale(1.0);
    }


    .contact-section h1 {
        margin-top: 30px;
    }

    .contact-info-basc,
    .contact-info-admission,
    .contact-info-Registrar {
        margin: 5px;
        font-size: 0.70rem;
        line-height: 1.4;
    }

    .footer-text {
        font-size: 0.80rem;
        margin-top: 10px;

    }
}

@media (max-width: 440px) {

    .logo::before {
        content: "BASC DOMS";
        font-size: 1.1rem;
        text-align: center; 
    }
    
    .main-container{
        padding: 0px;
    }

    .home .main-container .image img {
        width: 180px;
        height: auto;
    }

    .home .content h1, .typewriter-text, .typewriter {
        font-size: 1.60rem;
    }

    .typewriter-text {
        font-size: 1.90rem !important;
    }

    .home .content p {
        font-size: 0.90rem;
    }

    .Dorm-manager-page {
        height: 110dvh;
    }

    .Dorm-manager-page .card {
        width: 330px !important;
        min-height: 260px !important;
        margin-bottom: 20px;
         height: auto;
    }

    .Dorm-manager-page .card-subtitle {
        font-size: 0.75rem;
    }

    .Dorm-manager-page .card-info {
        padding: 10px;
    }

    .Dorm-manager-page .card-dorm-info {
        padding: 10px;

    }

    .Dorm-manager-page .card-dorm-goal {
        padding: 10px;
    }

    .Dorm-manager-page .card-content h3 {
        font-size: 1rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .Dorm-manager-page .card-description {
        font-size: 0.61rem;
        margin-bottom: 3px;
        line-height: 1.6;
    }

    .Dorm-manager-page .card-button {
        background-color: #0fbcf9;
        color: #fff;
        padding: 2px 6px;
        font-size: 0.75rem;
    }

    .contact-info-container {
        margin-top: 0px;

    }

    .contact-section h1 {
        margin-top: 10px;
    }


}

@media (max-width: 360px) {

    .logo {
        font-size: 15px;
    }

    .home .main-container .image img {
        width: 150px;
        height: auto
    }

    .Service-social-links i {
        width: 4.5rem;
        height: 4rem;
        font-size: 1rem;
        margin: 0 2px 10px;

    }



    .Dorm-manager-page .content {
        height: auto;
    }


    .Dorm-manager-page .card-dorm-goal .card {
        min-height: 360px !important;
         height: auto;
        
    }


}

@media (max-height: 640px) and (max-width: 640px) {
    .manager-section {
        padding: 0 !important;
    }

    .Dorm-manager-page {

        min-height: 125vh !important;
        padding-bottom: 50px;

    }

    .footer-text {
        font-size: 0.90rem;
        margin-top: 10px;
    }
}

@media (max-height: 420px) {
    .Dorm-manager-page {

        min-height: 165vh !important;
        padding-bottom: 50px;

    }
}

@media (max-height: 480px) {
    .Dorm-manager-page {

        min-height: 165vh !important;

    }
}