/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 60px 0 0 0;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin: 8px 0;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Sections */
.sec {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin: 0 auto;
}

.sec .home-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sec .heading-text {
    text-transform: uppercase;
}

.sec .description {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    line-height: 2;
    font-size: 1rem;
    padding: 0.5rem 2rem;
}

.small-bar {
    width: 5rem;
    border-bottom: 2px solid black;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
}

.slide-show {
    position: relative;
}

.banner-image {
    width: 100%;
    display: block;
}

.slides-wrap {
    position: absolute;
    bottom: 23%;
    left: 25.6%;
    right: 3.2%;
    top: 9.8%;
    z-index: 2;
    perspective: 1000px;
    transform: perspective(1000px) rotateX(2deg);
    transform-origin: 50% 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    position: relative;
}

.slide {
    display: inline-block;
    height: 100%;
    width: 100%;
    font-weight: bold;
    padding: 2rem 1rem;
    font-family: serif;
    flex-shrink: 0;
}

.slide-text {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    color: white;
}

@media (min-width: 768px) {
    .slide-text {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .slide-text {
        font-size: 2rem;
    }
}

.bg-red {
    background: linear-gradient(to right, rgba(255, 0, 0, 0.7), rgba(255, 58, 58, 0.7));
}

.bg-blue {
    background: linear-gradient(to right, rgba(0, 0, 255, 0.7), rgba(36, 96, 242, 0.7));
}

.bg-green {
    background: linear-gradient(to right, rgba(0, 130, 0, 0.7), rgba(7, 191, 7, 0.7));
}

.underline {
    text-decoration: underline;
}

/* Slideshow Pause/Play Toggle */
.slideshow-toggle {
    position: absolute;
    bottom: 2rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s;
}

.slideshow-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
}

.attribution {
    color: lightslategray;
    font-style: italic;
    margin-top: -1.25rem;
    margin-bottom: 0;
    text-align: left;
    padding-left: 0.5rem;
    font-size: 0.75rem;
}

.attribution a {
    text-decoration: none;
    color: cadetblue;
}

/* About Us Section */
#home-aboutus {
    padding: 1rem 0;
}

.home-about-us-content {
    display: block;
    background: rgba(62, 237, 255, 0.46);
    color: #8e1b00;
    border-radius: 2px;
    padding: 2.5rem 1.5rem;
}

#home-aboutus .small-bar {
    border-bottom-color: #8e1b00;
}

.home-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-graphic {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1200px) {
    .home-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    .home-graphic {
        grid-column: 1;
        padding-top: 0;
    }
}

.home-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-radius: 0.5rem;
}

.home-content .description {
    color: #444;
}

/* Animated Stacked Cards */
.animated-stacked-cards {
    width: 300px;
    height: 250px;
    margin: 0 auto 3rem;
    position: relative;
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .animated-stacked-cards {
        transform: scale(0.8);
    }
}

.stacked-cards-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.stacked-cards {
    background: transparent;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: wave 4s infinite;
}

.stacked-card {
    width: 82px;
    height: 94px;
    border-radius: 4px;
    transform: skew(65deg, -30deg);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.7rem;
    letter-spacing: 3px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.3rem;
}

@keyframes wave {
    0%, 100% {
        margin-top: 0;
    }
    25% {
        margin-top: 7px;
    }
    50% {
        margin-top: 10px;
    }
}

.card1 {
    background-color: rgba(222, 0, 49, 0.8);
    z-index: 10;
}

.card2 {
    background-color: rgba(119, 124, 177, 0.8);
    margin-top: -40px;
    z-index: 8;
}

.card3 {
    background-color: rgba(52, 104, 143, 0.8);
    margin-top: -40px;
    z-index: 6;
}

.card4 {
    background-color: rgba(38, 153, 233, 0.8);
    margin-top: -40px;
    z-index: 2;
}

/* Products Section */
#home-products {
    position: relative;
}

#products-mark {
    position: absolute;
    top: -30px;
}

.product-categories {
    margin-bottom: 3rem;
}

.category-header {
    padding-top: 2rem;
    text-align: left;
}

.category-title {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    color: #333;
    font-weight: 600;
}

.category-description {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.products-wrap {
    display: block;
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .products-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .products-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .product {
        flex: 0 1 calc(25% - 1.125rem);
    }
}

.product {
    background: linear-gradient(to bottom right, #c4fbda, #ffcffc);
    border-radius: 0.25rem;
    padding: 1.5rem 1rem 4rem 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.product.coming-soon {
    opacity: 0.7;
    background: linear-gradient(to bottom right, #e8e8e8, #f5f5f5);
    filter: grayscale(50%);
}

.coming-soon-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-logo-wrap {
    text-align: center;
}

.product-logo {
    width: 4rem;
    display: inline-block;
    border-radius: 0.5rem;
}

.product-content-wrap .title {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    text-align: center;
}

.product-content-wrap .copy {
    padding: 1.5rem 1rem;
}

.product-link-wrap {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    text-align: center;
}

.product-link {
    background: #fff;
    padding: 0.5rem 2rem;
    display: inline-block;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #333;
}

.product-link:hover {
    background: #f0f0f0;
}

/* Contact Section */
#home-contactus {
    border-radius: 4px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom right, #c2f6f9, #30d2ee 85%);
    color: #000;
}

#home-contactus .small-bar {
    border-bottom-color: #ff6c00;
}

#home-contactus a {
    color: blue !important;
}

.contact-wrap {
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.contact-line {
    display: block;
    text-align: left;
    margin-bottom: 15px;
}

.contact-line label {
    font-weight: bold;
    margin-left: 0.5rem;
}

.contact-line i.bi {
    font-size: 1.25rem;
}

.contact-line i.bi-envelope-at {
    color: orangered;
}

.contact-line i.bi-whatsapp {
    color: #075e54;
}

.contact-line i.bi-twitter {
    color: #00acee;
}

.contact-line a {
    text-decoration: none;
}

@media (min-width: 640px) {
    .contact-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 70px auto;
        column-gap: 15px;
    }

    .contact-wrap .home-heading {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .contact-wrap .home-content {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .contact-wrap .home-form {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .form,
    .description {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .form {
        max-width: 27rem;
    }

    .contact-line {
        margin-bottom: 1.25rem;
    }
}

/* Form Styles */
.home-form {
    padding: 0 1rem;
    position: relative;
}

.form {
    border-radius: 0.25rem;
}

.form-heading {
    padding: 1rem;
    background: #ff6c00;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    font-size: 1.2rem;
    color: white;
}

.form-content {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 0 0 0.25rem 0.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    display: inline-block;
    line-height: 1.5;
    outline: none;
    font-size: 15px;
    font-family: inherit;
}

.form-control:focus {
    border-color: #66afe9;
    box-shadow: 0 0 0 2px rgba(102, 175, 233, 0.2);
}

.contactform-button {
    padding: 1rem;
    display: block;
    width: 100%;
    border: 1px solid #48487f;
    border-radius: 0.25rem;
    background: #48487f;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
}

.contactform-button:hover {
    background: #0000ff;
}

.contactform-button:active {
    background: #48487f;
}

.contactform-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Footer */
.footer {
    min-height: 10rem;
    padding: 3rem 0 6rem 0;
    background: #30667b;
    color: white;
    line-height: 1.25rem;
    margin-top: 3rem;
}

.footer a,
.footer a:hover,
.footer a:visited,
.footer a:active {
    display: inline-block;
    color: #ffff03;
}

.footer-columns {
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
}

.footer-columns .footer-links a {
    display: block;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .footer-columns {
        display: grid;
        grid-template-columns: 3fr 1fr;
    }
}

.footer-column {
    padding: 1rem 0;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-to-top-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #48487f;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-button:hover {
    background: #0000ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background-color: #48487f;
    border-color: #48487f;
}

.btn-primary:hover {
    background-color: #0000ff;
    border-color: #0000ff;
}

/* Toolbar */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
    z-index: 50;
    color: #48487f;
    font-weight: 600;
    font-size: 18px;
}

.toolbar img {
    margin: 0 16px;
}

.toolbar .spacer {
    flex: 1;
}

.toolbar a,
.toolbar a:visited,
.toolbar a:hover {
    color: #48487f;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

.toolbar a:hover {
    color: #125699;
}

.toolbar-button {
    padding: 15px;
}

a.toolbar-button:active {
    background-color: #ddd;
}

.brand.toolbar-button {
    padding: 10px 15px;
}

.toolbar-button:hover {
    background-color: #eee;
    opacity: 0.8;
}

.brand.toolbar-button:hover {
    background-color: initial;
    opacity: 1;
}

.collapse-wrap {
    flex: 0 0 auto;
    align-self: flex-start;
    height: 100%;
    padding: 15px;
    display: flex;
}

.collapse-wrap .collapse-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    border: none;
    padding: 16px 10px;
    border-radius: 4px;
    line-height: 1.5;
    cursor: pointer;
}

.collapse-wrap .mobile-menu {
    right: -220px;
    transition: right 0.25s ease-in;
    display: block;
    position: fixed;
    top: 65px;
    bottom: 5px;
    width: 200px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: -1px 5px 15px rgba(0, 0, 0, 0.5);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.collapse-wrap .mobile-menu a.toolbar-button {
    justify-content: flex-end;
    border-bottom: 1px solid #ccc;
    font-weight: 400;
}

.collapse-wrap .mobile-menu.open {
    right: 0;
    overflow-y: auto;
}

@media (min-width: 800px) {
    .collapse-wrap .collapse-toggle {
        display: none;
    }

    .collapse-wrap .mobile-menu {
        display: flex;
        flex-direction: row;
        position: initial;
        right: initial;
        transition: none;
        height: auto;
        width: auto;
        background-color: initial;
        box-shadow: none;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .collapse-wrap .mobile-menu a.toolbar-button {
        justify-content: initial;
        border-bottom: none;
    }

    .collapse-wrap .mobile-menu.open {
        position: initial;
        top: initial;
        right: initial;
        width: auto;
        height: auto;
        background-color: initial;
    }
}

/* Page Content */
.page-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Policy Pages */
.home-privacy,
.home-termsandconditions,
.home-refund-policy {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.home-privacy h1,
.home-termsandconditions h1,
.home-refund-policy h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.home-privacy h3,
.home-termsandconditions h3,
.home-refund-policy h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.home-privacy h6,
.home-refund-policy h6 {
    color: #7f8c8d;
    font-weight: normal;
    margin-bottom: 2rem;
}

.home-privacy p,
.home-termsandconditions p,
.home-refund-policy p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.home-refund-policy ul {
    padding-left: 2rem;
}

.home-refund-policy li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-block {
    margin-bottom: 2rem;
}
