

body {
  
    background-color:rgb( 243,243,243);
   font-family: opensans, sans-serif;
    padding-top: 70px;

font-size: 16px;

} 
    
html,body{ 
    overflow-x:hidden; 
}

/* navbar */
.navbar {
color: black;
     background-color: rgb(243, 243, 243);

}
.logo{
    height: 100px;
}


/* Fix: logo too big on mobile */
@media (max-width: 768px) {
    .logo {
        height: 60px;
    }
}
a{
    color: white;
}
.home {
    background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.705)), url(img/home.jpg) no-repeat center/cover;
    min-height: 100%;   /* change */
    
}
a{
    color: white;
}
/* CAROUSEL FIX */
.carousel-item img {
  height: 500px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 260px;
  }
}

.carousel-caption h5 {
  font-size: 2rem;
  padding: 10px;
  border-radius: 5px;
}

/* Safe Storage Secure Supply */
.center2 {
    height: 50vh;
    border-radius: 15px;
}

/* Fix: on mobile center2 too tall */
@media (max-width: 768px) {
    .center2 {
        height: 250px;
        width: 100%;
    }
}

.center2:hover {
    border-radius: 10px;
    cursor: pointer;
    transform: scale(0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 2, 0.76);
}

/* rating */

.lead {
    color: rgba(110, 44, 46);
    font-weight: 600;
    letter-spacing: 1px;
}
h3{
   color:#6e2c2e;
}
.carousel-caption h5{
    color:#6e2c2e;
    font-weight:700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
/* h5{
    color:black;
} */

.stat-box {
    background-color: rgba(110, 44, 46);
    border-radius: 10px;
    padding: 25px 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s ease;
}

.stat-box div:first-child {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.state-num {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-top: 8px;
}

/* Hover Effect */
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.12);
}

/* Fix: stat boxes responsive grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .state-num {
        font-size: 24px;
    }
    .stat-box div:first-child {
        font-size: 13px;
    }
}

.btn-rating {
    padding: 12px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(110, 44, 46);
    color: white;
    border: none;
    transition: 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-rating:hover {
    background-color: black;
    color: rgba(110, 44, 46);
    cursor: pointer;
}

/* footer */
footer {
    background-color: rgba(110, 44, 46);
}

footer p {
    color: white;
    text-align: center !important;
    width: 100%;
}

/* mobile screen */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .carousel-caption {
        bottom: 20px;
    }

    .carousel-caption h5 {
        font-size: 1.2rem !important;
        line-height: 1.4;
        padding: 0 10px;
    }

    .stat-box {
        margin-bottom: 20px;
    }

    /* Fix: section headings too large on mobile */
    .display-6 {
        font-size: 1.4rem !important;
    }

    h4.fw-bolder {
        font-size: 1rem !important;
    }

    /* Fix: big-banner title too large on mobile */
    .big-title {
        font-size: 30px;
    }

    .big-subtitle {
        font-size: 15px;
    }

    .banner-button {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
        text-align: center;
    }

    .mid {
        height: auto;
        padding: 50px 15px;
    }

    .p-card {
        min-height: auto;
        padding: 20px 0;
    }
}

/* about */
.about {
    background: linear-gradient(rgba(5, 5, 5, 0.767), rgba(8, 8, 8, 0.774)), url(img/about) no-repeat center/cover;
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
    color: #fff;
}

a:hover {
    color: maroon;
}

a {
    color: white;
}

.cards {
    overflow: hidden;
    border-radius: 20px;
    background-color: rgb(243,243,243);
}
.card:hover{
    color: black;
}
h2 {
    color: rgba(110, 44, 46);
}

.team img {
    border-radius: 20px;
    height: 300px;
}

/* Fix: team img on mobile */
@media (max-width: 576px) {
    .team img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }
}

p {
    text-align: justify;
}

.cards:hover {
    border-radius: 10px;
    cursor: pointer;
    transform: scale(0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 2, 0.76);
    background-color:rgb(101,168,210);
}

.team img:hover {
    transform: scale(0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 2, 0.76);
}

.card img {
    cursor: pointer;
    object-fit: cover;
    height: 200px;
}

/* contact */
.contact {
    background: linear-gradient(rgba(15, 17, 20, 0.6), rgba(15, 17, 20, 0.6)), url(img/contact.jpg) no-repeat center/cover;
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
    color: #fff;
}

.left {
    background: linear-gradient(rgba(253, 249, 249, 0.877), rgba(252, 252, 252, 0.514)), url(img/image3.jpg ) no-repeat center/cover;
    min-height: 40vh;
    margin-top: 20px;
}

.social-icon {
  display: inline-block;
  margin-right: 10px;
  color: black;
  font-size: 24px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

.social-icon.facebook:hover {
  color: #1877F2;
}

.social-icon.twitter:hover {
  color: #1DA1F2;
}

.social-icon.linkedin:hover {
  color: #0A66C2;
}

.social-icon.email:hover {
  color: #D44638;
}

iframe {
    width: 100%;
}

.back .card {
    border-radius: 20px;
}

/* product */
.product {
    background: linear-gradient(rgba(15, 17, 20, 0.6), rgba(15, 17, 20, 0.6)),
        url('img/product.jfif') no-repeat center/cover;
    display: flex;
    justify-content: center;
height: 100vh;
    align-items: center;
    color: #fff;
}

.product-card {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background: white;
}

.mid {
    height: 480px;
    padding: 50px 15px;
}

/* product card */
.p-card {
    min-height: 450px;
    padding: 40px 0;
}

.category {
    display: flex;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
    align-items: center;
    background-color: rgba(110, 44, 46);
    color: white;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
}

.dicon {
    font-size: 60px;
}

/* Fix: dicon too large on mobile */
@media (max-width: 576px) {
    .dicon {
        font-size: 36px;
    }
}

.down-icon {
    margin-left: auto;
}

.sub-list a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: #0056b3;
}

.sub-list a:hover {
    background: #f1f1f1;
}

/* big-banner */
.big-banner {
    padding: 50px 0;
    background: linear-gradient(135deg, #6e2c2e, #4b1a1c, #2e0f11);
    background-size: 200% 200%;
    animation: gradientmove 8s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: auto;   /* FIX */
}

/* Fix: big-banner on mobile */
@media (max-width: 768px) {
    .big-banner {
        min-height: auto;
        padding: 35px 0;
    }
}

@keyframes gradientmove {
    0% { background-position: 0% 70%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 70%; }
}

.big-left {
    animation: fadeslide 1.2s ease-out forwards;
    opacity: 0;
}

@keyframes fadeslide {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.big-title {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1px;
}

.big-subtitle {
    margin-top: 20px;
    font-size: 18px;
    opacity: 0.9;
}

.banner-button {
    margin-right: 15px;
    padding: 12px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    color: white;
    border: 2px solid white;
}

.banner-button:hover {
    background-color: white;
    color: rgba(110, 44, 46);
}

.big-right {
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
}

.big-img img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 15px;
}

.category-box {
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Fix: category-box on small screens */
@media (max-width: 576px) {
    .category-box {
        height: 200px;
    }
}

.category-box img {
    max-height: 160px;
    object-fit: contain;
}