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 {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

    .hero-logo img {
        height: 60px;
    }

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

    .hero-slide.active {
        display: block;
    }

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 24px;
}

.hero-btn, .hero-btn2 {
    padding: 12px 36px;
    border-radius: 30px;
    font-weight: 600;
}

.hero-btn2 {
    border: 1px solid #fff;
    color: #fff;
    margin-left: 12px;
}

    .hero-btn2:hover {
        background: #8dd6b2;
        border-color: #8dd6b2;
        color: #fff;
    }



@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-text {
    font-size: 18px;
    margin-bottom: 25px;
}
.blocks-section {
    padding: 70px 0;
}

.block-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .block-card:hover {
        transform: translateY(-8px);
    }

    .block-card img {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .block-card h3 {
        font-size: 22px;
        font-weight: 700;
    }

    .block-card p {
        font-size: 16px;
        margin-bottom: 15px;
    }

.block-btn {
    border-radius: 8px;
}
.products-section {
/*    background: #e7f4ff;
*/    padding-top: 60px;
    padding-bottom: 60px;
}

    .products-section,
    .products-section h2,
    .products-section h5,
    .product-title {
        color: #003366 !important;
        border-radius: 12px;
        padding: 1px;
      
    }




.product-image {
    height: 190px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}







.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}


.product-filter {
    border-radius: 30px !important;
    padding: 6px 18px;
    font-weight: 600;
}

    .product-filter.active {
        background: #007bff;
        color: #fff;
    }



.swiper-slide {
    display: flex;
    justify-content: center;
}

.cta-section {
    background: linear-gradient(to bottom, #a8e6cf, #d4f9e2);
    padding: 60px 0;
    border-radius: 12px;
    margin-top: 60px;
    color: #003366; 
}

.cta-image img {
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #003366;
}

.cta-text {
    font-size: 18px;
    color: #003366;
}

.cta-btn {
    padding: 12px 36px;
    border-radius: 30px;
    background: #ffffff;
    color: #003366;
    font-weight: 600;
    border: 1px solid #c6d6e6;
    transition: 0.25s ease;
}

    .cta-btn:hover {
        background: #8dd6b2; 
        color: #ffffff;
        border-color: #8dd6b2;
    }


.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px; 
}

.product-filter {
    padding: 8px 22px;
    border-radius: 30px;
    border: 1px solid #c6d6e6;
    background: #ffffff;
    color: #003366; 
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-filter:hover {
        background: #daf7e8; 
        color: #003366;
    }

.product-filter.active {
        background: #8dd6b2; 
        color: #ffffff;
        border-color: #8dd6b2;
    }
.category-buttons {
    justify-content: center !important;
    text-align: center !important;
}
.category-buttons {
    display: flex;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 12px;
}

.product-filter {
    padding: 8px 24px;
    border-radius: 30px;
    border: 1px solid #c6d6e6;
    background: white;
    color: #003366;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-filter:hover {
        background: #daf7e8; 
        color: #003366;
    }

    .product-filter.active {
        background: #8dd6b2; 
        color: white;
        border-color: #8dd6b2;
    }
.view-all-btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 30px;
    background: white;
    border: 1px solid #c6d6e6;
    color: #003366;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.view-all-btn:hover {
        background: #daf7e8; 
        color: #003366;
    }

.view-all-btn:active,
.view-all-btn.active {
        background: #8dd6b2; 
        color: white;
        border-color: #8dd6b2;
    }
.social-bar {
    margin-bottom: 30px;
}

.social-icon {
    display: inline-block;
    margin: 0 14px; /* space between icons */
}

    .social-icon svg {
        width: 24px;
        height: 24px;
        transition: 0.3s ease;
        opacity: 0.85;
    }

        .social-icon svg:hover {
            opacity: 1;
            transform: scale(1.2);
        }


/* ABOUT SECTION */

.about-section {
    background: linear-gradient(to bottom, #a8e6cf, #d4f9e2);
    padding: 60px 60px;
    border-radius: 12px;
    margin-bottom: 60px ;
    margin-top: 60px ;
    color: #003366;
}

.about-image img {
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
}

.about-title {
    font-size: 32px;
    font-weight: 800;
    color: #003366;
}

.about-text {
    font-size: 18px;
    color: #003366;
}

.about-btn {
    padding: 12px 36px;
    border-radius: 30px;
    background: #ffffff;
    color: #003366;
    font-weight: 600;
    border: 1px solid #c6d6e6;
    transition: 0.25s ease;
}

.about-btn:hover {
    background: #8dd6b2;
    color: #ffffff;
    border-color: #8dd6b2;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-number,
.pagination-btn {
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

    .pagination-number.active {
        background: #008f43;
        color: #fff !important;
        border-color: #008f43;
    }


.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: 0.3s;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
   /* padding: 10px 25px;
    background: #fff;*/
    border: none;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}
/*
    .view-btn:hover {
        background: #f1f1f1;
    }*/
/* Modal Background */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    color:black
}

/* Modal Box — 80% width/height */
.modal-content-fixed {
    width: 80%;
    height: 80vh;
    background: #fff;
    padding: 20px;
    position: relative;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

/* Close Button Left */
.modal-close-left {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

/* Scrollable Body */
.modal-body-scroll {
    margin-top: 50px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Layout */
.modal-top-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.modal-img-side {
    width: 30%;
    text-align: center;
}

.modal-img-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.modal-img {
    width: 100%;
    height: auto;
}

.modal-text-side {
    width: 70%;
}

/* Request Order Button */
.request-btn {
    margin-top: 15px;
    width: 100%;
    font-size: 18px;
    padding: 10px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-top-section {
        flex-direction: column-reverse;
    }

    .modal-img-side,
    .modal-text-side {
        width: 100%;
    }
}
/* Modal background */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    overflow: auto;
}

/* Modal Image */
.cert-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
}

/* Close X */
.cert-close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

    .cert-close:hover {
        color: #ccc;
    }

/* Thumbnail images */
.certificate-img {
    width: 100%;
    border-radius: 8px;
    cursor: zoom-in;
    transition: 0.3s;
}

    .certificate-img:hover {
        transform: scale(1.03);
    }
/* DEFAULT LIGHT THEME ------------------------------------------------- */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: #ffffff;
}

/* DARK MODE THEME ----------------------------------------------------- */
.dark-mode {
    --bg-color: #121212;
    --text-color: #e6e6e6;
    --card-bg: #1e1e1e;
}

/* APPLY COLORS -------------------------------------------------------- */
body {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
}

.card {
    background-color: var(--card-bg) !important;
    color: var(--text-color);
}

.navbar,
.footer {
    background-color: var(--card-bg) !important;
}

a, .nav-link {
    color: var(--text-color) !important;
}
