/* General Reset */
@font-face {
    font-family: 'Aquatico-Regular';
    src: url('./fonts/Aquatico-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Define Hero Font */
@font-face {
    font-family: 'Ludicrous';
    src: url('./fonts/Ludicrous.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
    text-align: justify;
}


body  {
  font-family: "Noto Sans", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
/* Navbar Styles */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: #ffffff;
    color: #ffffff;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-self: start;
}

.navbar-links li a {
    text-decoration: none;
    color: #00a87e;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-links li a:hover {
    color: #252525;
}

/* Navbar Logo Styles */
.navbar-logo img {
    padding: 10px 0 0 0;
    height: 40px; /* Adjust the height */
    width: auto; /* Maintain aspect ratio */
}

.navbar-logo a:hover {
    cursor: pointer; /* Indicate it's clickable */
}

.contact-info li {
    list-style: none;
}

.contact-info li a {
    text-decoration: none;
    color: #00a87e;
}

/* General Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: #00a87e;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar-links li a {
    text-decoration: none;
    color: #00a87e;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-links li a:hover {
    color: #252525;
}

.navbar-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00a87e;
    text-align: center;
    
}


/* Hamburger Menu */
.navbar-toggle {
    display: none; /* Display the hamburger menu */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute; /* Position it relative to the parent container */
    left: 20px; /* Move it to the left of the navbar */
    top: 20px; /* Adjust spacing from the top */
    z-index: 10; /* Ensure it stays on top of other elements */
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #008080; /* Color of the hamburger lines */
    transition: all 0.3s ease;
}


/* Hero Section */
.hero {
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Ludicrous', serif; /* Fallback to serif */
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
    /* text-shadow: 0 4px 10px rgba(255, 255, 255, 0.705); */
}

.hero p {
    color: #f4f5f7;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00a87e;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #252525;
    color: #ffffff;
}

/* About Section Styles */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f5f7;
    padding: 50px 40px;
    margin: 30px 0;
    gap: 0px;
}

.about-content {
    background-color: #e0e0e0;
    padding: 40px;
    width: calc(50% + 100px);
    position: relative;
    z-index: 2;
    transform: translateX(100px);
    margin: 0 0 0 -240px;;
}

.about-content h2 {
    color: #00a87e;
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: normal;
    color: #555555;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 15px;
}

.about-image {
    width: 45vh;
    overflow:auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 70vh;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Vision Section Styles */
.vision-section {
    padding: 50px 20px;
    background-color: #f4f5f7; /* Light background for contrast */
    text-align: center;
    margin: 50px 0;
}

.vision-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.vision-section h2 {
    font-size: 2rem;
    color: #00a87e;
    margin-bottom: 20px;
    text-align: center;
}

.vision-description p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}

.vision-points h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
}

.vision-points ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 10px;
    color: #555;
}

.vision-points ul li {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .vision-section {
        padding: 30px 10px;
    }

    .vision-points h3 {
        font-size: 1.3rem;
    }

    .vision-points ul li {
        font-size: 0.95rem;
    }
}

/* Why OmniCore Section Styles */
.why-omnicore-section {
    padding: 50px 20px;
    background-color: #f4f5f7;
    text-align: center;
}

.section-heading {
    
    font-size: 2rem;
    color: #00a87e;
    margin-bottom: 30px;
}

.why-omnicore-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.why-omnicore-column {
    flex: 0 1 calc(40% - 20px); /* Adjusted width to 40% for better card size */
    max-width: calc(40% - 20px); /* Prevent cards from stretching too wide */
}

.why-omnicore-card {
    background: linear-gradient(#ffffff 50%, #00a87e 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: background-position 0.5s ease;
}

.why-omnicore-card:hover {
    background-position: 0 100%;
}

.why-omnicore-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f194c;
    margin: 15px 0;
    transition: color 0.3s ease;
}

.why-omnicore-card p {
    font-size: 1rem;
    color: #575a7b;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.why-omnicore-card:hover h3 {
    color: #ffffff;
}

.why-omnicore-card:hover p {
    color: #f4f5f7;
}

.icon-wrapper {
    background-color: #00a87e;
    font-size: 30px;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.why-omnicore-card:hover .icon-wrapper {
    background-color: #ffffff;
    color: #00a87e;
}


/* Product Section Styles */
.product-section {
    display: grid;
    justify-content: center;
    padding: 10 30 10 30px;
    background-color: #f4f5f7;
    margin: 50px 0;
}

.product-container {
    display: flex;
    gap: 20px;
    max-width: 1500px;
    width: 100%;
    padding: 20px 0;
}

.product-section h2 {
    font-size: 2rem;
    color: #00a87e;
    margin: 20px 0;
    text-align: center;
}

/* Categories Sidebar */
.categories {
    width: 20%;
    padding: 15px;

}

.categories h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories ul li {
    padding: 10px;
    cursor: pointer;
    color: #555;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 10px;
}

.categories ul li:hover,
.categories ul li.active {
    background-color: #00a87e;
    color: #ffffff;
}

/* Search Bar Container */
#category-search-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

/* Search Input */
#category-search {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

#category-search:focus {
    border-color: #8679ec;
}

/* Suggestion Box */
#search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
    box-shadow: 0 4px 4px #f4f5f7;
    z-index: 1000;
    font-size: 14px;
}

#search-suggestions li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#search-suggestions li:hover {
    background-color: #237f5d;
}


/* Product List Container */
.product-list-container {
    width: 70%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Product List */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-height: 500px; /* Limit height for scrollable view */
    overflow-y: auto; /* Enable vertical scrolling */
}

.product-item {
    width: calc(50% - 10px); /* Two items per row */
    padding: 10px;
    background-color: #f4f5f7;
    border-radius: 5px;
    text-align: center;
    color: #333;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-item:hover {
    background-color: #00a87e;
    color: #ffffff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap; /* Allow buttons to wrap if necessary */
}

.pagination-button {
    padding: 8px 12px;
    font-size: 1rem;
    background-color: #f4f5f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-button:hover {
    background-color: #00a87e;
    color: #ffffff;
}

.pagination-button.active {
    background-color: #00a87e;
    color: #ffffff;
    font-weight: bold;
}

.pagination-button:disabled {
    background-color: #ddd;
    color: #aaa;
    cursor: not-allowed;
}


/* Footer Styles */
.footer {
    background-color: #00a87e;
    color: #ffffff;
    padding-top: 30px;
    text-align: center;
    align-items: center;
}

.footer-container {
    justify-content: space-around;
    align-items: center;
    max-width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: normal;
}

.footer-item p {
    margin: 0;
    font-size: 1rem;
    color: #f4f5f7;
    padding: 0 0 10px 0;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px;
}

.footer-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: #252525;
}

/* Back to Top Button */

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #00a87e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    background-color: #005f99;
}



/* Responsive Design */

/* Mobile View Adjustments */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .navbar-logo {
        margin-bottom: 10px;
        text-align: center;
    }

    .navbar-links {
        display: none; /* Hide navbar links by default */
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        background-color: #ffffff;
    }

    .navbar-links.active {
        display: flex; /* Show links when active */
    }

    .navbar-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 5px;
    }

    /* Hero Section */
    .hero {
        height: auto;
        padding: 30px 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 15px;
        font-size: 1rem;
    }

    /* About Section */
    .about-section {
        flex-direction: column;
        padding: 10px 30px;
    }

    .about-content {
        width: 100%;
        margin: 0;
        padding: 10px;
    }
    .about-image {
        width: 100%;
        margin: 0;
        padding: 10px 0 0 0;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-content h3 {
        font-size: 1.2rem;
    }

    .about-content p {
        font-size: 0.8rem;
    }

    .about-content {
        transform: none;
    }

    /* Vision Section */
    .vision-section {
        padding: 10px 20px;
    }

    .vision-container {
        text-align: left;
    }

    .vision-section h2 {
        font-size: 1.5rem;
    }

    .vision-description p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .vision-points h3 {
        font-size: 1.3rem;
    }

    .vision-points ul li {
        font-size: 0.9rem;
    }

    /* Why OmniCore Section */

    .why-omnicore-row {
        flex-direction: column; /* Stack cards vertically on mobile */
    }

    .why-omnicore-column {
        flex: 0 1 100%; /* Full width for each card */
        max-width: 100%;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .why-omnicore-card {
        padding: 15px;
    }

    .why-omnicore-card h2 {
        font-size: 1.5rem;
    }

    .why-omnicore-card h3 {
        font-size: 1.2rem;
    }

    .why-omnicore-card p {
        font-size: 0.8rem;
    }

    .icon-wrapper {
        font-size: 25px;
        width: 50px;
        height: 50px;
    }
    /* Product Section */
    .product-container {
        flex-direction: column;
        padding: 10px;
    }


    .categories {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .product-list-container {
        width: 100%;
    }

    .product-list {
        max-height: 400px; /* Reduce height for mobile */
        overflow-y: auto;
    }

    .product-item {
        width: 100%; /* Single item per row */
    }

    .pagination {
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap; /* Allow buttons to wrap */
    }

    .pagination-button {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    /* Footer */
    .footer {
        padding: 10px 5px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-item {
        margin-bottom: 10px;
    }

    .footer-logo h2 {
        font-size: 1.5rem;
    }

    /* Back to Top Button */
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
