body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #FFFAFF;
}

.logo {
    filter: invert(1);
}

a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

a:hover {
    transform: scale(1.03);
}
header {
    display: flex;
    align-items: center;

    height: 100px;
    width: calc(100% - 40px);
    overflow: hidden;
    background-color: #303036;
    background-image: url('images/logotileable.png');
    background-size: 400px;
    background-position-y: -220px;
    color: white;
    padding: 0 20px;
}

header h1 {
    font-size: 38px;
    margin-left: 0px;
}

header .rightheader {
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: 30px;
    transform: translateY(4px);
}

header .searchbar input {
    background-color: #bfc0c9;
    color: #434d53;
    width: 300px;
    height: 40px;
    border: none;
    border-radius: 9999px;
    padding: 0 20px;
    font-size: 14px;
    outline: none;
    margin-right: 5px;
    transform: translateY(-4px);
}
header .searchbar button {
    background-color: #30BCED;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    cursor: pointer;
    margin-right: 10px;
    transition: 0.25s;
}

.searchbar button:hover {
    background-color: #269ed1;
}

img {
    width: 70px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.shopcart {
    margin-right: 20px;
}

.shopcart {
    transform: scale(1.5);
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopcart .material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 22
}

.shopcart:hover {
    cursor: pointer;
    color: #c2c2c2;
}

header h2:hover {
    cursor: pointer;
    color: #c2c2c2;
}

h2 {
    font-size: 20px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 20px;
}

main h1 {
    text-align: center;
    padding: 100px;
    font-size: 60px;
    margin-top: -30px;
    margin-bottom: 0px;
    margin-right: 20px;
    padding-bottom: 0;
}

main h2 {
    text-align: center;
    padding: 100px;
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: -30px;
    margin-right: 20px;
    padding-top: 10px;
}

.websites {
    background-color: #EFF3F6;
    border: 2px solid #A6ADBC;
    border-left: none;
    border-right: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    overflow: hidden;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    justify-items: center;
    padding: 20px 12px;
}

.website {
    background-color: #383D37;
    position: relative;
    width: 250px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    border: 2px solid #000000;
}

.website .img {
    width: 110%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    transform: translateY(-10px);
}

.website img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.website .name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.website .desc {
    font-size: 14px;
    color: #b9ccbf;
    text-align: center;
}

.website .price {
    font-size: 16px;
    font-weight: 500;
    color: #10B981;
}

.website .buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.website .buttons .info {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: 0.3s;
}

.website .buttons .info:hover {
    background-color: #e5e7eb;
}

.website .buttons .addcart {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #61E294;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 12px;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 18px;
    gap: 10px;
    width: 200px;
    transition: 0.3s;
}

.website .buttons .addcart:hover {
    background-color: #34d399;
}

@media (max-width: 800px) {
    header h1 {
    font-size: 30px;
    margin-left: 0px;
    }
    header .searchbar input {
        width: 150px;
    }
}

@media (max-width: 600px) {
    header h1 {
    font-size: 20px;
    margin-left: 0px;
    }

    header .searchbar input {
        width: 120px;
        font-size: 12px;
        padding-left: 10px;
    }
}

/* View more button and helper styles */
.view-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#view-more{
    background-color: rgb(155, 155, 155);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 16px;
    transform: translateY(-80px);
    transition: 0.3s;
}

#view-more:hover{ background-color: #808080 }

#all-shown{
    font-size: 14px;
    color: #6b7280;
    transform: translateY(-80px);
}

/* Info popup box styles */
.info-box{
    position: absolute;
    bottom: 190px;
    left: 50%;
    transform: translate(-50%, 150px);
    width: 260px;
    background: #ffffff;
    color: #111827;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16,24,40,0.12);
    padding: 12px 14px;
    z-index: 40;
    border: 1px solid #e5e7eb;
}

.info-box .info-close{
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.info-box h3{ margin: 0 0 6px 0; font-size: 16px; }
.info-box p{ margin: 4px 0; font-size: 14px; color: #374151 }

@media (max-width: 600px) {
    .info-box{ left: 50%; transform: translate(-50%, 50px); width: 85%; }
}

.contact-form {
    color: white;
    background-color: #303036;
    padding: 20px;
    border-radius: 10px;
    width: 320px;
    border: 3px solid #000000;
  }

  .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }

  label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .contact input, textarea {
    width: 85%;
    background-color: #43484E;
    border: none;
    border-radius: 6px;
    padding: 8px;
    /* ensure there's room for the left icon */
    padding-left: 40px;
    color: white;
    font-size: 14px;
    outline: none;
    margin-bottom: 10px;
    border: 2px solid #000000;
  }

  #first {
    width: 105px;
  }
  #last {
    width: 105px;
  }

  textarea {
    resize: none;
    height: 80px;
    font-family: "Inter", sans-serif;
  }

/* Input-with-icon wrapper and icon positioning */
.input-with-icon{ position: relative; }
.input-with-icon i{ position: absolute; left: 10px; top: 50%; transform: translateY(-77%); color: #bfbfbf; pointer-events: none; font-size: 14px; }
.textarea-with-icon i{ top: 21px; }

/* Keep placeholder text slightly lighter */
.contact::placeholder{ color: #c7c7c7; opacity: 1; }

/* Accessible hidden label for screen-readers */
.visually-hidden{ position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

  .note {
    font-size: 12px;
    color: #bfbfbf;
    margin-top: 6px;
    text-align: center;
  }

  .btn {
    background-color: #26a9e0;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
  }

  .btn:hover {
    background-color: #1b8cbc;
  }

  .contact-flex {
    display: flex;
    align-items: center;
    justify-content: center;
  }

    /* Styled, responsive map that matches card style */
    .map{
        width: 520px;
        height: 320px;
        border: none;
        border-radius: 10px;
        overflow: hidden;
        display: block;
        border: 2px solid #000000;
    }

    /* Responsive tweaks for smaller screens */
    @media (max-width: 900px){
        .contact{ grid-template-columns: 1fr; }
    }

    .contact-label {
        margin-top: -120px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

/* Footer styles (matches supplied screenshot) */
.footer{
    background: #1B1A1C; /* deep neutral background */
    color: #ffffff;
    padding: 34px 20px;
    border-top: 1px solid rgba(255,255,255,0.02);
}
.footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}
.footer-left, .footer-center, .footer-right{ flex: 1; min-width: 0 }
.footer-left{ text-align: left; }
.footer-center{ text-align: center; }
.footer-right{ text-align: right; }
.footer-left .copyright{ font-size: 20px; margin: 0 0 12px 0; }
.footer-left .address{ font-size: 18px; margin: 0; color: #e6e6e6 }
.footer-center h3, .footer-right h3{ text-decoration: underline; margin: 0 0 12px 0; font-size: 20px; }
.footer-center p, .footer-right p{ margin: 6px 0; font-size: 18px; color: #e6e6e6 }

/* subtle vertical separators between columns (desktop) */
.footer-left, .footer-right{ position: relative }

/* Use pseudo elements on the parent to ensure separators are identical height */
.footer-inner{ position: relative }
.footer-inner::before,
.footer-inner::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 56px; /* fixed visual height to match screenshot */
    width: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
}
.footer-inner::before{ left: calc(33.333% - 2px); }
.footer-inner::after{ left: calc(66.666% - 2px); }

/* Social buttons */
.social-icons{ display: flex; gap: 16px; align-items: center; justify-content: flex-end }
.social-btn{ width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.social-btn i{ font-size: 30px; line-height: 1 }
.social-btn.facebook{ background: linear-gradient(180deg,#4b2fe6,#2b1bb8); }
.social-btn.instagram{ background: radial-gradient(circle at 30% 30%, #feda75 0%, #fa7e1e 30%, #d62976 60%, #962fbf 80%); }
.social-btn.youtube{ background: linear-gradient(180deg,#ff3b30,#cc0000); }
.social-btn.twitter{ background: linear-gradient(180deg,#1da1f2,#0d8de6); }
.social-btn:hover{ transform: translateY(-3px); }

@media (max-width: 900px){
    .footer-inner{ flex-direction: column; text-align: center; gap: 16px }
    .footer-inner::before, .footer-inner::after{ display: none }
    .social-icons{ justify-content: center }
    .social-btn{ width: 64px; height: 64px }
    .social-btn i{ font-size: 24px }
}