.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
/* Navbar */
.navbar {
  background-color: var(--accent-color);
position:sticky;
top:0;
z-index:999;
 padding: 0.5em 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
    display: block;
    height: auto;
    width: auto;
}

.logo img {
       width: 100%;
    height: 10em;
    object-fit: contain;
    object-position: left;
}

.blk-logo {
    align-content: center;
    padding: 1em;
}

.products {
    margin-top: 2em;
}

.banner{
    height: fit-content;
    width: 100%;
}

.banner img{
    width: 100%;
    height: 50dvh;
    object-fit: cover;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu li {
  margin-left: var(--spacing-md);
  position: relative;
}

.menu a {
  text-decoration: none;
  color: var(--text-color-nav);
  font-size: var(--font-size-1);
}



.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color:  var(--surface0);
  list-style: none;
  padding: var(--spacing-sm);
  z-index: 1;
  width: max-content;
}

.dropdown:hover .dropdown-menu {
  display: block;
}




.blk-button--lead-prime {
  background-color: var(--lead-surface-2);
  color: var(--lead-text-0);
  border: 0.2px solid var(--lead-color);
  fill:var(--lead-text-0);
}

.blk-button--acc-prime {
  background-color: var(--accent-surface-2);
  color: var(--accent-btn-color);
  border: 0.2px solid var(--accent-color);
  fill: var(--accent-btn-color);
}


/* Hero Section */
.hero-container {
    
    gap: 0em; /* Space between columns */
    padding: 0em;
    height: var(--hero-height);
}

.hero-container .grid-item {
    padding: 0px;
}

.hero {
  position: relative;
  text-align: center;
  display: grid;
  height: 90vh;
}

.blk-image {
    height: 100%;
}

.hero-image {
    filter: brightness(0.7);
}

.hero .blk-image img {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: brightness(0.5);
    border: 0;
}

.hero-text {
    color: var(--light);
    text-align: left;
    max-width: 80%;
    padding-left:0;
    margin-top: 15em !important;
}

.hero-title {   
    background-color: var(--accent-color);
    width: fit-content;
    margin: auto;
    color: var(--accent-btn-color);
}

.hero-title p {
   margin: 0 0.62em;
   padding: 0.2em;
   font-size: var(--font-size-1);
}


.hero-content {
    grid-row-start: 1;
    height: inherit;
    z-index: 1;
}

.hero-image {
    position: absolute;
    height: 90vh;
    top: 0;
    left: 0;
    width: 100%;
}

.hero-text .slogan {
    text-transform: uppercase;
    font-family: var(--font-headings);
}

.hero-text .slogan p {
  font-size: var(--slogan-fs);
  font-weight:var(--slogan-fw);
  margin: 0;
  line-height: 1.4;
}

.hero-text .slogan strong {
  font-weight:var(--slogan-strong-fw);
  font-size: var(--slogan-strong-fs);
}

.hero-text .break-slogan p {
      font-size: var(--font-size-4);
      margin-bottom: 1em;
      margin-top: 0;
}

/* Paragraph Section */
.image-style {
   width: 100%;
   object-fit: cover;
}

/* Benefits Section */
.benefits {
  display:grid;
  grid-template-columns: repeat(16, 1fr);
    grid-column: span 12;
  gap:1em;
  justify-content: center;
    position: relative;
  
}

.grid-container.row .benefits.card {
        background-color: red;
}

.card {
    flex: 0 0 22em;
    background-color: var(--background-color);
    position:relative;
    box-shadow: none;
    display: grid;
    padding: 2em;
    grid-column: span 4;
    border-radius: var(--border-radius);
    border: 1px solid rgb(255 217 10 / 25%);
}

.card .card-title {
    font-size: var(--fs-card-title);
    font-weight: var(--fw-card-title);
    --fs-card-title: var(--font-size-4);
}

.card .card-title {
    font-size: var(--font-size-1);
}

.card .card-icon {
    width: 3em;
    height: auto;
    margin-block-start: -3.5em;
    background: var(--background-color);
    padding: .5em;
    color: var(--lead-text-2) !important;
    svg {
        fill: var(--light);
        width: 3em;
        height: 3em;
    }
}



/* Prefooter Section */

.prefooter h2 {
  
}

.prefooter .btn {

}

/* Footer Section */
.footer {
  padding: var(--spacing-lg) 0;
  background-color: var(--brand-color);
  color: white;
  .logo {
        svg {
            width: inherit;
            height: 3em;
        }
    }
}

.footer .container {
  display: flex;
  justify-content: space-between;
}

.footer-left, .footer-middle, .footer-right {
  flex: 1;
}

.footer-middle ul {
  list-style: none;
  padding: 0;
}

.footer-middle a {
  text-decoration: none;
  color: white;
}


/* Media query for tablets */
@media (max-width: 1025px) {
.logo {
  display: block;
  height: auto;
  width: 13em;
    svg {
     width: inherit;
     height: auto;
    }
}





.hero-content {
    grid-row-start: 2;
    margin: 0;
        position: relative;
    z-index: 3;
     margin-top: -12em;
}

.hero-image .blk-image {
  padding: 0em;
}

.hero .blk-image img {
    margin: 0 0 0 0 ;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    filter: brightness(0.5);
}

.hero-text {
         max-width: 90%;                                       
    padding: 3em 1.5em;
}
 
.hero img {
      width: 100%;
    height: 40dvh;
    object-fit: cover;
}

    .benefits {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-column: span 8;
        gap: 3em;
    }


.card {
    padding: 2em;
        grid-column: span 4;
  
}

/*.card:nth-child(3) {*/
    
/*        grid-column: span 8;*/
  
/*}*/

.image-style {
    width: 100% !important;
    object-fit: cover;
}

}



/* Media query for mobile devices */
@media (max-width: 480px) {
    
.hero {
  position: relative;
  text-align: center;
  display: grid;
  height: 70vh;
}

.hero-image {
    position: absolute;
    height: 70vh;
    top: 0;
    left: 0;
    width: 100%;
}


.blk-button {
   
    font-size: var(--font-size-01);
}

.hero-content {
    grid-row-start: 2;
    margin: 0;
        position: relative;
    z-index: 3;
            margin-top: -6em;
}


  .grid-container {

    grid-template-columns: repeat(4, 1fr); /* 12-column grid */
  
}

    .grid-item {
        grid-column: span 4; /* Each column spans 12 of the 12 columns (1 column per row) */
    }

.benefits {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
    grid-column: span 4;
  
}

.card {
    padding: 2em;
        grid-column: span 4;
  
}

.image-style {
    width: 99% !important;
    object-fit: cover;
}

.sec-cta.row .img-cta {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 100%;
    --webkit-mask-image: linear-gradient(to left, #000 100%, transparent 100%);
    mask-image: linear-gradient(to left, #000 100%, transparent 100%);
    mask-repeat: no-repeat;
}

}



.bg-accent-surface1 {
    background-color: var(--accent-surface-1);
    color: var(--light);
    position: relative;
    z-index: 0;
}

.bg-surface0 {
    background-color: var(--brand-color);
    position: relative;
    z-index: 0;
        filter: drop-shadow(4px 4px 9px #b6b6b6);
    padding:1em;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Afacad Flux", Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
  padding: 20px;
  line-height: 1.6;
}

h1, h2 {
  margin-bottom: 15px;
  color: #2c3e50;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 25px;
}

/* Messages */
p[style*="color: green;"] {
  background: #e9fbe9;
  color: #2e7d32;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Form styling */
form.form, table form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #555;
}

form input[type="text"], 
form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  transition: border 0.2s ease;
}

form input[type="text"]:focus {
  border-color: #3498db;
  outline: none;
}

/* Buttons */
button {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

button:hover {
  background: #2980b9;
}

button[name="delete_product"] {
  background: #e74c3c;
}

button[name="delete_product"]:hover {
  background: #c0392b;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

table th, table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

table th {
  background: #f9fafc;
  font-weight: 700;
  color: #2c3e50;
}

table tr:hover {
  background: #f5faff;
}

table img {
  border-radius: 8px;
  max-width: 80px;
  max-height: 80px;
  object-fit: cover;
  display: block;
  margin-bottom: 5px;
}

/* Info box */
h2 + p, hr + h2 + p {
  background: #fff;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-left: 4px solid #3498db;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  table, table tr, table td, table th {
    display: block;
    width: 100%;
  }

  table tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
  }

  table th {
    display: none;
  }

  table td {
    padding: 8px 0;
  }

  table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
    color: #555;
  }

  table img {
    max-width: 100%;
    max-height: 120px;
  }
}


