@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

:root{
    --green:#cd0f87;
    --black:rgb(77, 6, 105) ;
    --light-color:#030303;
    --box-shadow:.5rem .5rem 0 rgba(67, 236, 104, 0.2);
    --text-shadow:.4rem .4rem 0 rgba(39, 184, 89, 0.2);
    --border:.2rem solid var(--green);
}

*{
    font-family: 'Poppins', sans-serif;
    margin:0; 
    padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-transform: capitalize;
    transition: all 0.2s ease-out;
    text-decoration: none;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

section {
    padding: 8rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

section:nth-child(even){
    background: #f5f5f5;
}

/* Heading container styles */
.heading-container {
    padding-top: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.heading {
    text-align: center;
    padding-bottom: 2rem;
    text-shadow: var(--text-shadow);
    text-transform: uppercase;
    color: var(--black);
    font-size: 4rem;
    letter-spacing: .4rem;
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
}

.heading span {
    text-transform: uppercase;
    color: var(--green);
}

.heading::after {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: var(--green);
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: .5rem;
    padding-left: 1rem;
    border:var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    color:var(--green);
    cursor: pointer;
    font-size: 1.7rem;
    background: #fff;
}

.btn span{
    padding:.7rem 1rem;
    border-radius: .5rem;
    background: var(--green);
    color:#fff;
    margin-left: .5rem;
}

.btn:hover{
    background: var(--green);
    color:#fff;
}

.btn:hover span{
    color: var(--green);
    background:#fff;
    margin-left: 1rem;
}

.header{
    padding: 1rem 7%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.header .logo{
    font-size: 2rem;
    color: var(--black);
    text-decoration: none;
}

.header .logo i{
    color: var(--green);
}

.header .navbar{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header .navbar a{
    font-size: 0.9rem;
    color: var(--light-color);
    text-decoration: none;
    text-transform: capitalize;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.header .navbar a:hover{
    color: var(--green);
    background: rgba(0, 255, 0, 0.1);
    border-radius: 4px;
}

#menu-btn{
    font-size: 2.5rem;
    border-radius: .5rem;
    background: #eee;
    color: var(--green);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: none;
}

.home {
    padding-top: 10rem;
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
}

.home .image{
    flex:1 1 45rem;
}

.home .image img{
    width: 100%;
}

.home .content{
    flex:1 1 45rem;
}

.home .content h3{
    font-size: 4.5rem;
    color:var(--black);
    line-height: 1.8;
    text-shadow: var(--text-shadow);
}

.home .content p{
    font-size: 1.7rem;
    color:var(--light-color);
    line-height: 1.8;
    padding: 1rem 0;
}

.icons-container{
    padding-top: 2rem;
    max-width: 100%;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    padding: 5rem 2rem;
}

.icons-container .icons{
    border: var(--border);
    box-shadow: var(--box-shadow);
    border-radius: 1rem;
    text-align: center;
    padding: 2.5rem;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.icons-container .icons:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icons-container .icons img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.icons-container .icons:hover img {
    transform: scale(1.05);
}

.icons-container .icons i{
    font-size: 3.5rem;
    color: var(--green);
    margin: 1rem 0;
}

.icons-container .icons h3{
    font-size: 2.5rem;
    color: var(--black);
    padding: .5rem 0;
    text-shadow: var(--text-shadow);
}

.icons-container .icons p{
    font-size: 1.7rem;
    color: var(--light-color);
    line-height: 1.5;
}

.emergency-section {
    background-image: url('../images/emergency.jpg');
    background-size: cover;
    background-position: center;
    height:150vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    background-color: rgba(127, 179, 213, 0.9);
    border-radius: 10px;
}

.content {
    width: 50%;
    padding: 20px;
}

h1 {
    color: red;
    text-align: center;
}

p {
    color: black;
    font-size: 18px;
    transition: color 0.3s;
}

p:hover {
    color: black;
}

.services .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap:2rem;
}

.services .box-container .box{
    background:#fff;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    border:var(--border);
    padding: 2.5rem;
}

.services .box-container .box i{
    color: var(--green);
    font-size: 5rem;
    padding-bottom: .5rem;
}

.services .box-container .box h3{
    color: var(--black);
    font-size: 2.5rem;
    padding:1rem 0;
}

.services .box-container .box p{
    color: var(--light-color);
    font-size: 1.4rem;
    line-height: 2;
}

.about .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:2rem;
}

.about .row .image{
    flex:1 1 45rem;
}

.about .row .image img{
    width: 100%;
}

.about .row .content{
    flex:1 1 45rem;
}

.about .row .content h3{
    color: var(--black);
    text-shadow: var(--text-shadow);
    font-size: 4rem;
    line-height: 1.8;
}

.about .row .content p{
    color: var(--light-color);
    padding:1rem 0;
    font-size: 1.5rem;
    line-height: 1.8;
}

.doctors {
    padding-top: 8rem;
    padding-bottom: 3rem;
}

.doctors .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:2rem;
}

.doctors .box-container .box{
    text-align: center;
    background:#fff;
    border-radius: .5rem;
    border:var(--border);
    box-shadow: var(--box-shadow);
    padding:2rem;
}

.doctors .box-container .box img{
    height: 20rem;
    border:var(--border);
    border-radius: .5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.doctors .box-container .box h3{
    color:var(--black);
    font-size: 2.5rem;
}

.doctors .box-container .box span{
    color:var(--green);
    font-size: 1.5rem;
}

.doctors .box-container .box .share{
    padding-top: 2rem;
}

.doctors .box-container .box .share a{
    height: 5rem;
    width: 5rem;
    line-height: 4.5rem;
    font-size: 2rem;
    color:var(--green);
    border-radius: .5rem;
    border:var(--border);
    margin:.3rem;
}

.doctors .box-container .box .share a:hover{
    background:var(--green);
    color:#fff;
    box-shadow: var(--box-shadow);
}

.book {
    padding-top: 8rem;
    padding-bottom: 3rem;
}

.book .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:2rem;
}

.book .row .image{
    flex:1 1 45rem;
}

.book .row .image img{
    width: 100%;
}

.book .row form{
    flex:1 1 45rem;
    background: #fff;
    border:var(--border);
    box-shadow: var(--box-shadow);
    text-align: center;
    padding: 2rem;
    border-radius: .5rem;
}

.book .row form h3{
    color:var(--black);
    padding-bottom: 1rem;
    font-size: 3rem;
}

.book .row form .box{
    width: 100%;
    margin:.7rem 0;
    border-radius: .5rem;
    border:var(--border);
    font-size: 1.6rem;
    color: var(--black);
    text-transform: none;
    padding: 1rem;
}

.book .row form .btn{
    padding:1rem 4rem;
}

.review {
    padding-top: 8rem;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/we care like family.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    animation: coreValuesBgPulse 10s ease-in-out infinite;
    z-index: -2;
}

.review::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(255,255,255,0.82), rgba(255,255,255,0.82));
    z-index: -1;
}

@keyframes coreValuesBgPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.review .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap:2rem;
}

.review .box-container .box{
    border:var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    padding:2.5rem;
    background: linear-gradient(135deg, rgba(205, 15, 135, 0.10), rgba(108, 7, 71, 0.10));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(205, 15, 135, 0.18);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.review .box-container .box img{
    height: 12rem;
    width: 12rem;
    border-radius: 50%;
    object-fit: cover;
    border: .5rem solid #fff;
    display: block;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 0 0 rgba(205, 15, 135, 0.35);
    animation: heartbeatGlow 2s ease-in-out infinite;
}

@keyframes heartbeatGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(205, 15, 135, 0.35);
        transform: scale(1);
    }
    25% {
        box-shadow: 0 0 0 8px rgba(205, 15, 135, 0);
        transform: scale(1.03);
    }
    40% {
        box-shadow: 0 0 0 12px rgba(205, 15, 135, 0);
        transform: scale(1);
    }
    60% {
        box-shadow: 0 0 0 8px rgba(205, 15, 135, 0);
        transform: scale(1.02);
    }
}

.review .box-container .box h3{
    color:#3f0981;
    font-size: 2.2rem;
    padding:.5rem 0;
    margin-top: 1rem;
}

.review .box-container .box .stars i{
    color:#fff;
    font-size: 1.5rem;
}

.review .box-container .box .text{
    color:var(--light-color);
    line-height: 1.8;
    font-size: 1.6rem;
    padding-top: 1rem;
    margin-top: 1rem;
}

.review .box-container .box::before{
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--green), #16a085);
    border-radius: 1rem 1rem 0 0;
    height: 12rem;
    width: 100%;
    z-index: -1;
}

.blogs .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:2rem;
}

.blogs .box-container .box{
    border:var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    padding: 2rem;
}

.blogs .box-container .box .image{
    height: 20rem;
    overflow:hidden;
    border-radius: .5rem;
}

.blogs .box-container .box .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blogs .box-container .box:hover .image img{
    transform:scale(1.2);
}

.blogs .box-container .box .content{
    padding-top: 1rem;
}

.blogs .box-container .box .content .icon{
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blogs .box-container .box .content .icon a{
    font-size: 1.4rem;
    color: var(--light-color);
}

.blogs .box-container .box .content .icon a:hover{
    color:var(--green);
}

.blogs .box-container .box .content .icon a i{
    padding-right: .5rem;
    color: var(--green);
}

.blogs .box-container .box .content h3{
    color:var(--black);
    font-size: 2rem;
}

.blogs .box-container .box .content p{
    color:var(--light-color);
    font-size: small;
    line-height: 1.8;
    padding:1rem 0;
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap:2rem;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color:var(--black);
    padding: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    font-size: 1.5rem;
    color:var(--light-color);
    padding: 1rem 0;
}

.footer .box-container .box a i{
    padding-right: .5rem;
    color:var(--green);
}

.footer .box-container .box a:hover i{
    padding-right:2rem;
}

.footer .credit{
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    color:var(--light-color);
    border-top: .1rem solid rgba(0, 0, 0, .1);
}

.footer .credit span{
    color:var(--green);
}

.visiting-hours {
    background: #f9f9f9;
    padding: 4rem 0;
}

.visiting-hours .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.visiting-hours .box {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.visiting-hours h3 {
    color: var(--green);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.visiting-hours ul {
    list-style: none;
}

.visiting-hours li {
    font-size: 1.6rem;
    color: var(--black);
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.visiting-hours li:last-child {
    border-bottom: none;
}

.messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    width: 300px;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 1.4rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

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

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Media Queries */
@media (max-width:991px){
    html{
        font-size: 55%;
    }

    .header{
        padding: 2rem;
    }

    section{
        padding:2rem;
    }
}

@media (max-width:768px){
    #menu-btn{
        display: initial;
    }

    .header .navbar{
        position: absolute;
        top:115%; right: 2rem;
        background: #fff;
        box-shadow: var(--box-shadow);
        border-radius: .5rem;
        flex-direction: column;
        gap: 0;
        transform: scale(0);
        transform-origin: top right;
        opacity: 0;
        transition: 0.3s ease;
    }

    .header .navbar.active{
        transform: scale(1);
        opacity: 1;
    }

    .header .navbar a{
        font-size: 1rem;
        display: block;
        margin: 0;
        padding: .5rem;
        width: 20rem;
        text-align: center;
    }

    .heading {
        font-size: 3rem;
    }
    
    section {
        padding: 6rem 1rem 2rem;
    }

    .heading::after {
        width: 70%;
    }
}

@media (max-width:450px){
    html{
        font-size: 50%;
    }
}

/* About Page Styling */
.about {
    padding-top: 10rem;
}

.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about .row .image {
    flex: 1 1 45rem;
}

.about .row .image img {
    width: 100%;
    border-radius: 1rem;
}

.about .row .content {
    flex: 1 1 45rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 2rem;
}

.about .row .content p {
    font-size: 1.6rem;
    color: var(--light-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mission-vision {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
}

.mission, .vision {
    background: #fff;
    border: var(--border);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission:hover, .vision:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(205, 15, 135, 0.25);
}

.mission::before, .vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), #cd0f87);
}

.mission h4, .vision h4, .values h4 {
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: var(--text-shadow);
}

.mission h4 i, .vision h4 i, .values h4 i {
    color: var(--green);
    font-size: 2.5rem;
}

.mission p, .vision p {
    font-size: 1.6rem;
    color: var(--light-color);
    line-height: 1.8;
    text-align: left;
}

.values {
    background: #fff;
    border: var(--border);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    padding: 3rem;
    margin-bottom: 4rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.values:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(205, 15, 135, 0.25);
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), #cd0f87);
}

.values h4 {
    text-align: center;
    margin-bottom: 2rem;
}

.values ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.values li {
    font-size: 1.6rem;
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.values li:hover {
    background: rgba(205, 15, 135, 0.05);
    border-color: var(--green);
    transform: translateX(5px);
}

.values li i {
    color: var(--green);
    font-size: 1.8rem;
}

.facilities {
    margin: 4rem 0;
    padding: 4rem 0;
    background: #f9f9f9;
}

.facilities h2 {
    font-size: 3rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: var(--text-shadow);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 3rem;
}

.facility {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border: var(--border);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.facility:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(205, 15, 135, 0.25);
}

.facility::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), #cd0f87);
}

.facility i {
    font-size: 4.5rem;
    color: var(--green);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.facility:hover i {
    transform: scale(1.1);
}

.facility h3 {
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
}

.facility p {
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.8;
}

.visiting-hours {
    margin: 4rem 0;
    padding: 4rem 0;
    background: #f9f9f9;
}

.visiting-hours h2 {
    font-size: 3rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: var(--text-shadow);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
}

.hours-card {
    background: #fff;
    padding: 3rem;
    border: var(--border);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hours-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(205, 15, 135, 0.25);
}

.hours-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), #cd0f87);
}

.hours-card h3 {
    font-size: 2.4rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: var(--text-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hours-card h3 i {
    color: var(--green);
    font-size: 2.8rem;
}

.timing {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.7rem;
    color: var(--light-color);
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.time-slot:hover {
    background: rgba(205, 15, 135, 0.05);
    border-color: var(--green);
    transform: translateX(5px);
}

.time-slot i {
    color: var(--green);
    font-size: 2rem;
}

.location {
    margin: 4rem 0;
}

.location h2 {
    font-size: 3rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.address {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
}

.address h3 {
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.address h3 i {
    color: var(--green);
}

.address p {
    font-size: 1.6rem;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--green);
}

/* About Page Mobile Responsive */
@media (max-width: 768px) {
    .about {
        padding: 4rem 0 2rem;
    }
    
    .about .row {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about .row .image {
        order: 2;
        flex: none;
        width: 100%;
    }
    
    .about .row .content {
        order: 1;
        flex: none;
        width: 100%;
        padding: 0;
    }
    
    .about .row .content h3 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .about .row .content p {
        font-size: 1.4rem;
        text-align: center;
        line-height: 1.6;
    }
    
    .mission-vision {
        margin-bottom: 2rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission, .vision, .values {
        padding: 2rem;
    }
    
    .mission h4, .vision h4, .values h4 {
        font-size: 1.8rem;
        justify-content: center;
    }
    
    .values ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .values li {
        font-size: 1.4rem;
        justify-content: center;
        padding: 0.8rem;
    }
    
    .facilities {
        padding: 3rem 0;
    }
    
    .facilities h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .facility {
        padding: 2rem 1.5rem;
    }
    
    .facility i {
        font-size: 3.5rem;
    }
    
    .facility h3 {
        font-size: 1.8rem;
    }
    
    .facility p {
        font-size: 1.3rem;
    }
    
    .visiting-hours {
        padding: 3rem 0;
    }
    
    .visiting-hours h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hours-card {
        padding: 2rem 1.5rem;
    }
    
    .hours-card h3 {
        font-size: 1.8rem;
    }
    
    .time-slot {
        font-size: 1.4rem;
        padding: 1rem;
    }
    
    .location {
        padding: 3rem 0;
    }
    
    .location h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .map-container {
        margin: 0 1rem 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .address {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .address h3 {
        font-size: 1.8rem;
    }
    
    .address p {
        font-size: 1.4rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info p {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 3rem 0 1rem;
    }
    
    .about .row {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .about .row .content h3 {
        font-size: 2rem;
    }
    
    .about .row .content p {
        font-size: 1.2rem;
    }
    
    .mission, .vision, .values {
        padding: 1.5rem;
    }
    
    .mission h4, .vision h4, .values h4 {
        font-size: 1.6rem;
    }
    
    .values li {
        font-size: 1.2rem;
        padding: 0.6rem;
    }
    
    .facilities h2 {
        font-size: 2rem;
    }
    
    .facility {
        padding: 1.5rem 1.2rem;
    }
    
    .facility i {
        font-size: 3rem;
    }
    
    .facility h3 {
        font-size: 1.6rem;
    }
    
    .facility p {
        font-size: 1.2rem;
    }
    
    .visiting-hours h2 {
        font-size: 2rem;
    }
    
    .hours-card {
        padding: 1.5rem 1.2rem;
    }
    
    .hours-card h3 {
        font-size: 1.6rem;
    }
    
    .time-slot {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    
    .location h2 {
        font-size: 2rem;
    }
    
    .map-container {
        margin: 0 0.5rem 1.5rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .address {
        margin: 0 0.5rem;
        padding: 1.2rem;
    }
    
    .address h3 {
        font-size: 1.6rem;
    }
    
    .address p {
        font-size: 1.2rem;
    }
    
    .contact-info p {
        font-size: 1.1rem;
    }
}

/* Messages & Announcements Styling */
.urgent-messages-section {
    padding: 1rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    margin-top: 80px; /* Space for fixed header */
    border-bottom: 1px solid #dee2e6;
}

.urgent-message {
    margin-bottom: 1rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.urgent-message.alert-danger {
    border-left: 5px solid #dc3545;
}

.urgent-message.alert-warning {
    border-left: 5px solid #ffc107;
}

.urgent-message .message-image {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 1.5rem;
}

.urgent-message .message-content {
    flex: 1;
}

.urgent-message .alert-heading {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.urgent-message .alert-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 1rem;
    background-color: #007bff;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.urgent-message .alert-link:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

/* Messages List Page Styling */
.messages-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.messages-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.messages-section h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.messages-section h1:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--green);
    margin: 1rem auto;
    border-radius: 2px;
}

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.message-card {
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.message-card.border-danger {
    border-left: 5px solid #dc3545;
}

.message-card.border-warning {
    border-left: 5px solid #ffc107;
}

.message-card .card-body {
    padding: 1.5rem;
}

.message-card .message-image img {
    border-radius: 8px;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-card .card-title {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.message-card .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
}

.message-card .card-text {
    color: #505865;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.message-card .btn-outline-primary {
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.message-card .btn-outline-primary:hover {
    transform: translateY(-2px);
}

.message-card .message-meta {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.85rem;
}

/* Pagination Styling */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    color: var(--green);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--green);
    color: white;
    border-color: var(--green);
}

.pagination .page-item.active .page-link {
    background-color: var(--green);
    border-color: var(--green);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
}

/* Alert Styling */
.alert-info {
    background-color: #e1f5fe;
    color: #0288d1;
    border: none;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
} 