 body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('images.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #fff;
}

.topnav {
    overflow: hidden;
    background-color: #901b0c;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 17px 18px;
    text-decoration: none;
    font-size: 20px;
}

.topnav a.active {
    background-color: #2686C1;
    color: white;
}

.topnav .icon {
    display: none;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .topnav a:not(:first-child) {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
/* Navigation Bar */
.topnav {
    overflow: hidden;
    background-color: #901b0c;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 17px 18px;
    text-decoration: none;
    font-size: 20px;
}

.topnav a.active {
    background-color: #2686C1;
    color: white;
}

.topnav .icon {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 95%;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.text-box {
    flex: 1;
    background: #e0e0e0;
    padding: 50px;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.container.show .text-box {
    transform: translateX(0);
    opacity: 1;
}

.text-box h2 {
    color: #990000;
    margin-bottom: 15px;
    font-size: 28px;
}

.text-box p {
    font-size: 20px;
    color: #333;
    font-style: italic;
}

.text-box .author {
    margin-top: 15px;
    font-weight: bold;
    color: #555;
}

.image-box {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

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

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .text-box {
        transform: translateX(0);
        opacity: 1;
        padding: 30px;
    }

    .image-box {
        height: 300px;
    }
}

h1 {
    font-size: 2.5em;
    color: #C70039;
    margin-top: 30px;
}

p {
    font-size: 1.2em;
    color: #4d0000;
    margin-top: 20px;
    line-height: 1.4;
}

.feature-cards {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.feature-card {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    font-size: 1.5em;
    color: #ffffff;
    line-height: 1.2;
}

.feature-card p {
    color: #ccc;
    font-size: 1em;
    line-height: 1.5;
}

.feature-card i {
    font-size: 3em;
    color: #EA7729;
    margin-bottom: 15px;
}

.home-card {
    background-color: rgba(0, 123, 255, 0.8);
}

.choose-card {
    background-color: rgba(0, 204, 102, 0.8);
}

.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: Bookman Old Style;
    padding: 15px;
}

.header img {
    height: 30px; /* Reduced logo size */
    margin-right: 5px; /* Reduced margin */
    font-size: 24px; /* Reduced font size */
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: #333;
}

.header h1 {
    margin: 0;
    font-size: 30px; /* Reduced title size */
    font-family: Gabriola;
    font-weight: bold;
    color: #990000;
}

.content {
    background-color: #d9d9d9;
    padding: 30px;
    margin: 20px auto;
    border-radius: 12px;
    width: 80%;
    max-width: 900px;
    box-sizing: border-box;
    color: #000000;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content h1 {
    font-size: 2em;
    color: #a0211b;
    margin-bottom: 15px;
}

.content p {
    color: #000000;
    font-size: 1em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.content p strong {
    color: #800000;
    font-size: 1.5em;
}
}
.our-values p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.values-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: #e6e6e6;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
}

.value-card h3 {
    font-size: 24px;
    color: #990000; /* Rich earthy color for value titles */
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    font-size: 16px;
    color: #555;
}

/* Card Hover Effect */
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .values-cards {
        grid-template-columns: 1fr 1fr;
    }

    h2 {
        font-size: 36px;
    }

    .value-card h3 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .values-cards {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 28px;
    }

    .value-card h3 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }
}
#offer-popup {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  padding: 15px;
  font-size: 1.1rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  transition: bottom 0.5s ease;
  z-index: 9999;
}

#offer-popup.show {
  bottom: 0;
}

#offer-popup button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 5px 12px;
  margin-left: 15px;
  cursor: pointer;
  border-radius: 4px;
}

/*Footer section*/
footer {
    position: relative; /* Corrected typo */
    background: #990000;
    width: 100%;
    bottom: 0;
    left: 0;
}

footer::before {
    content: '';
    position: relative;
    left: 0;
    top: 100px;
    height: 1px;
    width: 100%;
    background: #AFAFB6;
}

footer .content {
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
    background: transparent;
}

footer .content .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.content .top .logo-details {
    color: #fff;
    font-size: 30px;
   font-color: white;
}

.content .top .media-icons {
    display: flex;
}

.content .top .media-icons a {
    height: 30px;
    width: 30px;
    margin: 0 8px;
    border-radius: 30%;
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.s ease;
}

.top .media-icons a:nth-child(1) {
    background: #4267B2;
}

.top .media-icons a:nth-child(1):hover {
    color: #4267B2;
    background: #fff;
}

.top .media-icons a:nth-child(2) {
    background: #1DA1F2;
}

.top .media-icons a:nth-child(2):hover {
    color: #1DA1F2;
    background: #fff;
}

.top .media-icons a:nth-child(3) {
    background: #E1306C;
}

.top .media-icons a:nth-child(3):hover {
    color: #E1306C;
    background: #fff;
}

.top .media-icons a:nth-child(4) {
    background: #0077B5;
}

.top .media-icons a:nth-child(4):hover {
    color: #0077B5;
    background: #fff;
}

.top .media-icons a:nth-child(5) {
    background: #FF0000;
}

.top .media-icons a:nth-child(5):hover {
    color: #FF0000;
    background: #fff;
}

footer .content .link-boxes {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

footer .content .link-boxes .box {
    width: calc(100% / 5 - 10px);
}

.content .link-boxes .box .link_name {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
}

.link-boxes .box .link_name::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
}

.content .link-boxes .box li {
    margin: 6px 0;
    list-style: none;
}

.content .link-boxes .box li a {
    color: #fadbd8;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.content .link-boxes .box li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.content .link-boxes .input-box {
    margin-right: 55px;
}

.link-boxes .input-box input {
    height: 40px;
    width: 100%; /* Fixed to avoid overflow */
    outline: none;
    border: 2px solid #AFAFB6;
    background: #fadbd8;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    color: #AFAFB6;
    margin-top: 5px;
}

.link-boxes .input-box input::placeholder {
    color: #17202a;
    font-size: 16px;
}

.link-boxes .input-box input[type="button"] {
    background: #fadbd8;
    color: #140B5C;
    border: none;
    font-size: 18px;
    font-weight: 500;
    margin: 4px 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.4s ease;
}

.input-box input[type="button"]:hover {
    opacity: 1;
}

footer .bottom-details {
    width: 100%;
    background: #922b21;
}

footer .bottom-details .bottom_text {
    max-width: 1210px;
    margin: auto;
    padding: 10px 40px; /* Corrected padding */
    display: flex;
    justify-content: space-between;
}

.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
    font-size: 14px;
    font-weight: 300;
    color: #fadbd8;
    opacity: 0.8;
    text-decoration: none;
}

.bottom-details .bottom_text a:hover {
    opacity: 1;
    text-decoration: underline;
}

.bottom-details .bottom_text a {
    margin-right: 10px;
}

@media (max-width: 900px) {
    footer .content .link-boxes {
        flex-wrap: wrap;
    }

    footer .content .link-boxes .input-box {
        width: 100%; /* Consistent width */
        margin-top: 10px;
    }
}

@media (max-width: 700px) {
    footer {
        position: relative;
    }

    .content .top .logo-details {
        font-size: 26px;
    }

    .content .top .media-icons a {
        height: 35px;
        width: 35px;
        font-size: 14px;
        line-height: 35px;
    }

    footer .content .link-boxes .box {
        width: calc(100% / 3 - 10px);
    }

    footer .content .link-boxes .input-box {
        width: 100%; /* Consistent width */
    }

     footer .content .link-boxes .input-box {
    width: 60%;                                                                                                        
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a {
    font-size: 9px;
  }
}

@media (max-width: 520px) {
  footer::before {
    top: 145px;
  }
  footer .content .top {
    flex-direction: column;
  }
  .content .top .media-icons {
    margin-top: 16px;
  }
  footer .content .link-boxes .box {
    width: calc(100% / 2 - 10px);
  }
  footer .content .link-boxes .input-box {
    width: 100%;
  }
}
