@font-face {
    font-family: 'Demo-Cons';
    src: url(''url('../fonts/BeforeTheRainSwashes_personal_use_demo.ttf')'') format('truetype');
}
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 60px;
}



.navs{
    background-color:#9c0707;
}
.shape {
    border-radius: 1em;
}
.half{
    width:50%;
}.full{
    width:100%;
}
.blog-section {
    padding: 20px;
    background-color: #f9f9f9;
    margin: 20px 0;
}

    .blog-section h2 {

        color: black;
        text-align: center;
        font-size: 2em;
        margin-bottom: 20px;
    }

.blog-post {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
}

    .blog-post h3 {
        color: #9c0707;
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .blog-post p {
        color: #666;
        font-size: 1em;
        line-height: 1.5;
    }
.product-card {
    border: 1px solid white;
    background: white;
    transition: all 0.5s ease; 
    position: relative;
}
    .product-card:hover {
        transform: scale(1.04);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-color: white;
    }
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px ;
    font-family: Arial, sans-serif;
}
.foot{
    position:absolute;
    bottom:0;
}

.footer-container {
    display: flex;
}

.footer-section {
    flex: 1;
    margin: 10px;
}

    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #f1f1f1;
    }

    .footer-section p {
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

        .footer-section ul li {
            margin-bottom: 10px;
        }

            .footer-section ul li a {
                color: #bbb;
                text-decoration: none;
                transition: color 0.3s;
            }

                .footer-section ul li a:hover {
                    color: #fff;
                }

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #555;
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

    .social-icon:hover {
        background-color: #777;
    }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    margin-top: 20px;
}

    .footer-bottom p {
        margin: 0;
        font-size: 14px;
    }

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin: 0px 0;
    }

    .social-links {
        justify-content: center;
    }
}
.banner {
    width:100%;
    height: auto;
    margin: 0;
    padding: 0;
    
}

.team-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em; 
    flex-wrap:wrap; 
}

.team-member {
    text-align: center;
}

    .team-member img {
        display: block;
        margin: 0 auto; 
    }

    .team-member h5 {
        margin-top: 0.5em;
        font-size: 1em; 
    }
.card {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.bio {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.card:hover .bio {
    transform: translateY(0);
}

.card:hover img {
    transform: scale(1.1);
}

.bio h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.bio p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}
.container2 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; 
    justify-content: center;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer2 {
    margin-top: auto;
}
.hotline-list {
    display: grid;
    gap: 20px;
}

.hotline-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

    .hotline-card:hover {
        transform: translateY(-5px);
    }

    .hotline-card h3 {
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .hotline-card p {
        margin-bottom: 10px;
        color: #555;
    }

        .hotline-card p strong {
            color: #3498db;
        }

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }

    .hotline-card {
        padding: 15px;
    }
}
#searchBar {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    outline: none;
}

    #searchBar:focus {
        border-color: #3498db;
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    }

.faq-list {
    margin-bottom: 40px;
}

.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .faq-item h3 {
        padding: 15px;
        cursor: pointer;
        color: #2c3e50;
        font-size: 1.2em;
        transition: background 0.2s;
    }

        .faq-item h3:hover {
            background: #f1f1f1;
        }

    .faq-item .answer {
        display: none;
        padding: 15px;
        color: #555;
        border-top: 1px solid #eee;
    }

        .faq-item .answer.show {
            display: block;
        }

.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .contact-form h2 {
        margin-bottom: 20px;
        color: #2c3e50;
    }

    .contact-form label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: #333;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #3498db;
        }

    .contact-form button {
        background: #3498db;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
    }

        .contact-form button:hover {
            background: #2980b9;
        }

.form-message {
    margin-top: 10px;
    color: #27ae60;
    display: none;
}

    .form-message.show {
        display: block;
    }

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }

    .faq-item h3 {
        font-size: 1.1em;
    }

    .contact-form {
        padding: 15px;
    }
}
.mission, .history {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .value-card h3 {
        color: #3498db;
        margin-bottom: 10px;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.team-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

    .team-card:hover {
        transform: translateY(-5px);
    }

    .team-card img {
        width: 100%;
        max-width: 150px;
        border-radius: 50%;
        margin-bottom: 10px;
    }

    .team-card h3 {
        color: #2c3e50;
        margin-bottom: 5px;
    }

    .team-card p {
        color: #7f8c8d;
    }

.gallery {
    text-align: center;
}

.gallery-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-image {
    display: none;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .gallery-image.active {
        display: block;
    }

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 5px;
}

    .gallery-btn.prev {
        left: 10px;
    }

    .gallery-btn.next {
        right: 10px;
    }

    .gallery-btn:hover {
        background: rgba(0, 0, 0, 0.7);
    }

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .values-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-btn {
        padding: 5px;
        font-size: 1.2em;
    }
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #7f8c8d;
}

.blog-content {
    font-size: 1.1em;
    margin-bottom: 30px;
}

    .blog-content h2 {
        color: #2c3e50;
        margin: 20px 0 10px;
    }

    .blog-content img {
        width: 100%;
        max-width: 600px;
        height: auto;
        border-radius: 8px;
        margin: 20px 0;
    }

.share-btn {
    background: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

    .share-btn:hover {
        background: #2980b9;
    }

.share-options {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 5px;
}

    .share-options button {
        margin-right: 10px;
        padding: 5px 10px;
        background: #3498db;
        color: #fff;
        border: none;
        border-radius: 3px;
        cursor: pointer;
    }

.comments {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

    .comments h3 {
        color: #2c3e50;
        margin-bottom: 10px;
    }

.comment-toggle {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-size: 1em;
    text-decoration: underline;
}

.comment-section {
    display: none;
    margin-top: 15px;
}

    .comment-section textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .comment-section button {
        background: #27ae60;
        color: #fff;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
}