@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter.ttf') format('truetype');
}
@font-face {
  font-family: 'Jakarta';
  src: url('fonts/Jakarta.ttf') format('truetype');
}

h1, h2, h3 {
    font-family: 'Jakarta', sans-serif;
    line-height: 1.4em;
}

a {
    transition: all 0.5s ease-in-out;
}
a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.5em;
    font-family: 'Inter', sans-serif;
    margin: 0px;
    background-color: #F9FAF8;
}

/* Header */
header {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav {
    display: flex;
    gap: 15px;
    align-items: center;
}
header nav a {
    font-size: 16px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* Top */
#top {
    width: 100%;
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #10231C;
}
#top h1 {
    margin: 0px;
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    text-align: center;
}
#top p {
    font-size: 25px;
    font-weight: 600;
    color: #10B981;
    text-align: center;
}
#top #freebutton {
    font-size: 18px;
    font-weight: 600;
    background-color: #FFE200; 
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 24px;
    margin-top: 15px;
}
#top .pro-badge {
    background-color: #ffd700; 
    color: #000;
    padding: 2px 8px;
    font-size: 0.6em; 
    font-weight: bold;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 8px;
    display: inline-block;
}

/* Search Bar */
.search-form { 
    margin: 60px auto 40px; 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    max-width: 600px; 
    width: 100%;
}
.search-form input[type="text"] {
    flex: 1; 
    border: 1px solid #ddd;
    border-radius: 4px; 
    font-size: 16px;
    color: #333;
    padding: 10px;
}
.search-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 40px 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    font-size: 16px;
    color: #0f172a;
    cursor: pointer;
}
.search-form button { 
    padding: 10px 20px; 
    background-color: #111; 
    color: #fff; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px;
    color: #fff;
}

/* Grid */
.grid-container { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    max-width: 1600px;
    width: 100%;
    padding: 20px;
    margin: auto;
}
.title h2 {
    font-size: 30px;
    color: #111;
    text-align: center;
}
.grid-container .grid-item { 
    border: 1px solid #ddd; 
    padding: 15px; 
    border-radius: 4px; 
}
.grid-container .grid-item img {  
    margin-bottom: 15px; 
    object-fit: cover; 
    width: 500px; 
    height: 300px; 
}
.grid-container h3 a { 
    font-size: 22px; 
    margin-bottom: 10px; 
    text-decoration: none;
    color: #10231C;
}
.grid-container .pro-badge { 
    background-color: #ffd700; 
    color: #000; 
    padding: 2px 8px; 
    font-size: 18px; 
    font-weight: bold; 
    border-radius: 4px; 
    vertical-align: middle; 
    margin-left: 5px; 
    display: inline-block;
    margin-bottom: 8px;
}
.grid-container p { 
    font-size: 16px; 
    margin-bottom: 10px; 
    color: #333;
}
.grid-container p a { 
    font-size: 15px; 
    margin-bottom: 10px; 
    color: #333;
}
.grid-container p a:hover { 
    text-decoration: none;
}

/* Listing*/
.listing-container {
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
    display: flex;
    gap: 40px;
}
.listing-left {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.listing-left .listing-logo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}
.listing-left .listing-category {
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    color: #10231C;
    margin-bottom: 20px;
}
.listing-left .social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}
.listing-left .social-icons img {
    width: 32px;
    height: 32px;
}
.listing-left .visit-btn {
    background-color:  #10231C;;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    width: 100%;
    font-size: 17px;
}
.listing-right {
    width: 70%;
    display: flex;
    flex-direction: column;
}
.listing-right .listing-cover {
    width: 640px; 
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}
.listing-right h2 {
    font-size: 28px;
    color: #111;
    margin: 10px 0px;
}
.listing-right .listing-description p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}
.listing-right .key-features p {
    margin: 20px 0px;
    padding: 15px;
    background-color: #10B981;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: capitalize;
}
.listing-right .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 column grid[cite: 4] */
    gap: 15px;
    margin: 20px 0px;
}
.listing-right .gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}
.listing-right .video-container {
    width: 100%;
    margin: 20px 0px;
}
.listing-right .video-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 4px;
}

/* Pagination */
.pagination { 
    margin-top: 30px; 
    margin-bottom: 30px;
    display: flex; 
    gap: 5px; 
    justify-content: center; 
}
.pagination a, .pagination span { 
    padding: 8px 16px; 
    text-decoration: none; 
    border-radius: 4px; 
    color: #111;
    border: 1px solid #111;
}
.pagination .active { 
    background-color: #111; 
    color: #fff;  
    font-size: 15px;
    font-weight: bold;
}
.pagination .dots {
    border: none; 
}

/* Tips */
#tips {
    width: 100%;
    padding: 20px;
    max-width: 1000px;
    margin: 50px auto;
    background-color: #eee;
    border-radius: 4px;
}
#tips h2 {
    font-size: 22px;
    color: #111;
}
#tips ul li {
    color: #333;
    font-size: 16px;
}

/* Form */
#submitform {
    width: 100%;
    margin: 60px auto;
    padding: 0px 20px;
    max-width: 900px;
}
#submitform fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
#submitform legend {
    font-size: 18px;
    font-weight: bold;
    color: #111;    
}
#submitform label {
    font-size: 16px;
    color: #333;
}
#submitform input, #submitform select {
    margin-bottom: 20px;
}
#submitform input[type="text"], #submitform input[type="url"], #submitform input[type="email"], #submitform textarea {
    flex: 1; 
    border: 1px solid #ddd;
    border-radius: 4px; 
    font-size: 16px;
    color: #333;
    padding: 10px;
    width: 100%;
}
#submitform select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 40px 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    font-size: 16px;
    color: #0f172a;
    cursor: pointer;
}
#submitform .error-msg { 
    display: none; 
    color: red; 
    font-size: 13px;
}
#submitform .word-count { 
    font-weight: bold; 
}
#submitform .text-danger { 
    color: red; 
}
#submitform .text-success { 
    color: green; 
}
#submitform .file-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: center;
}
#submitform .file-group {
    min-width: 0;
}
#submitform .file-field {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
#submitform .file-field input[type="file"] {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
#submitform .file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #10231C;
    color: #fff!important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    margin: 5px auto;
}
#submitform .file-name {
    max-width: 100%;
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: auto;
}
#submitform .file-field.has-file .file-name {
  color: #333;
}
#submitform #submitBtn { 
    font-size: 18px;
    font-weight: 600;
    background-color: #10B981;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    margin: auto;
    display: block;
}

/* Footer */
footer {
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    background-color: #10231C;
}
footer p {
    color: #fff;
    font-size: 13px;
    margin-bottom: 0px;
}
footer a {
    color: #10B981;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
/* Top */
#top {
    padding: 20px;
}
#top h1 {
    font-size: 36px;
    line-height: 1.1em;
}
#top p {
    font-size: 18px;
}

/* Tips */
#tips {
    width: 90%;
}
#tips h2 {
    font-size: 24px;
    color: #111;
    text-align: center;
}

/* Form */
#submitform .file-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
}    
    
    
    