.open-status {
    background: linear-gradient(135deg, rgba(6, 163, 218, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 8px 15px;
    border-radius: 30px;
    border: 1px solid rgba(6, 163, 218, 0.2);
    box-shadow: 0 2px 10px rgba(6, 163, 218, 0.1);
    transition: all 0.3s ease;
}

.open-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 163, 218, 0.2);
}

.open-status .pulse {
    animation: pulse 2s infinite;
    color: #06A3DA;
    font-size: 1.1rem;
}

.status-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.status-highlight {
    color: #06A3DA;
    font-weight: 600;
    margin-right: 4px;
}

.time-text {
    position: relative;
    display: inline-block;
    color: #091E3E;
    animation: slideText 15s linear infinite;
    padding-left: 20px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideText {

    0%,
    15% {
        content: "24/7 Emergency Service";
    }

    20%,
    35% {
        content: "Round the Clock Care";
    }

    40%,
    55% {
        content: "Always Here for You";
    }

    60%,
    75% {
        content: "24 Hours Available";
    }

    80%,
    95% {
        content: "Emergency Support 24/7";
    }

    100% {
        content: "24/7 Emergency Service";
    }
}

.time-text::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #06A3DA;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.footer-main {
    background: linear-gradient(to bottom, #1a1a1a, #051225) !important;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(6, 163, 218, 0.5), transparent);
}

.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #06A3DA;
}

.footer-info p {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-address:hover {
    transform: translateX(5px);
}

.footer-contact p {
    line-height: 2;
}

.footer-email a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: #06A3DA;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: #06A3DA;
    transform: translateX(5px);
}

.footer-map iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-btn.facebook:hover {
    background: #1877f2;
}

.social-btn.youtube:hover {
    background: #ff0000;
}

.copyright-section {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

.copyright a {
    color: #06A3DA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-title {
        margin-top: 20px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .copyright {
        text-align: center;
    }
}

.newsletter-section {
    margin-bottom: -75px;
}

.newsletter-container {
    background: linear-gradient(135deg, #06A3DA, #0056b3);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 600px;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .input-group-text {
    background-color: #fff;
    border: none;
    color: #06A3DA;
    padding-left: 1.5rem;
}

.newsletter-form .form-control {
    border: none;
    padding: 1.2rem 1rem;
    font-size: 1rem;
    background: #fff;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border: none;
}

.newsletter-form .btn-subscribe {
    background: #051225;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.newsletter-form .btn-subscribe:hover {
    background: #091E3E;
    transform: translateY(-2px);
}

.newsletter-form .btn-subscribe i {
    transition: transform 0.3s ease;
}

.newsletter-form .btn-subscribe:hover i {
    transform: translateX(5px);
}

.newsletter-form .form-check {
    text-align: left;
}

.newsletter-form .form-check-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.newsletter-form .form-check-input {
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-check-input:checked {
    background-color: #051225;
    border-color: #051225;
}

@media (max-width: 768px) {
    .newsletter-container {
        padding: 2rem;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

    .newsletter-description {
        font-size: 1rem;
    }

    .newsletter-form .btn-subscribe {
        padding: 0.8rem 1.5rem;
    }
}

.logo-container {
    position: relative;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
}

.logo-wrapper {
    position: relative;
    max-width: 180px;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: auto;
    transform-origin: center;
    transition: all 0.3s ease;
    animation: logoFadeIn 1s ease-out;
}

.logo-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.logo-container:hover .logo-image {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 8px rgba(6, 163, 218, 0.2));
}

.logo-container:active .logo-image {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .logo-wrapper {
        max-width: 150px;
    }
}

/* Add this to your existing loading animation */
#spinner .logo-loading {
    animation: logoPulse 2s infinite;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* News Ticker Styles */
.news-ticker-container {
    display: flex;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.news-ticker-label {
    background: #06A3DA;
    color: #fff;
    padding: 12px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.news-ticker-label::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    height: 100%;
    width: 30px;
    background: #06A3DA;
    transform: skew(-20deg);
    z-index: -1;
}

.news-ticker {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.ticker-wrap {
    width: 100%;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.ticker-items {
    display: flex;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-items:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    color: #091E3E;
    font-size: 0.95rem;
    position: relative;
}

.ticker-item::after {
    content: '•';
    position: absolute;
    right: 0;
    color: #06A3DA;
    font-size: 1.2rem;
}

.ticker-item:last-child::after {
    content: '';
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .news-ticker-label {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .ticker-item {
        padding: 0 20px;
        font-size: 0.85rem;
    }
}

/* Modern Carousel Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    margin: 0 20px;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #06A3DA;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
    filter: none;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23091E3E'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23091E3E'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

.carousel-control-prev:hover .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
    transform: translateX(-2px);
}

.carousel-control-next:hover .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
    transform: translateX(2px);
}

@media (max-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}
