/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  color: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after { 
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* variables */
:root {
  --color-primary: #434343;
  --color-primary-light: #777;
  --color-primary-dark: #222222;
  --color-secondary: #6c757d;
  --color-success: #28a745;
  --color-info: #17a2b8;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --color-link: #007bff;
  --color-dark: #313131;
  --color-white: #ffffff;
  --color-off-white: #f8f9fa;
  --color-gray: #6c757d;
  --color-black: #000000;
}

/* Base */
body {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-dark);
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: none;
}
a:focus {
  outline: none;
}
a:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial', sans-serif;
  font-weight: bold;;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.3rem;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  
}

/* Global */
.hide {
  display: none;
}
.section {
  position: relative;
  margin-bottom: 80px;
  padding: 0 20px;
}

.container {
  display: block;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
}

.container-full {
  max-width: 100%;
}

.container-narrow {
  max-width: 1024px;
}

.content {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}

.row {
  display: flex;
  position: relative;
  align-items: stretch;
  flex-flow: row nowrap;
  height: 100%;
  gap: 1rem;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  width: 100%; 
  gap: 1rem;
}

.column-stretch {
  flex-direction: row;
}

.column-20 {
  width: 20%;
}
.column-80 {
  width: 80%;
}
.column-50 {
  width: 50%;
}
.column-40 {
  width: 40%;
}
.column-60 {
  width: 60%;
}
.column-33 {
  width: 33.3333%;
}
.column-25 {
  width: 25%;
} 
.column-75 {
  width: 75%;
} 
.column-100 {
  width: 100%;
}

@media (max-width: 1024px) {
  .row {
    flex-direction: column;
  }
  .column {
    width: 100%;
  }
  .column-20,
  .column-80,
  .column-50,
  .column-40,
  .column-60,
  .column-33,
  .column-25,
  .column-75 {
    width: 100%;
  }
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-align: center; 
}
.button:hover {
  background-color: var(--color-black);
}
.button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}
.button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.button-invert {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.button-invert:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.button-invert:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}
.button-invert:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Header */
.header-top {
  background-color: var(--color-off-white);
  min-height: 100px;
  padding: 20px;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  min-height: 100px;
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Footer */
.footer-content {
  background-color: var(--color-off-white);
  padding: 40px 20px;
}

.footer-content .row {
  justify-content: space-between;
}

.footer-bottom {
  background-color: var(--color-primary);;
  color: var(--color-white);
  padding: 8px;
  text-align: center;
  font-size: 0.8rem;
}


/* Body */

/* Section Banner */
.section-banner {
  background: url('../images/banner.webp') no-repeat center center;
  background-size: cover;
  height: 450px;
  color: #fff;
  padding: 0;
  display: flex;
  margin-bottom: 0;
}

.section-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.section-banner .row {
  justify-content: center;
  align-items: center;
}

.section-banner .column-banner {
  max-width: 1400px;
  margin: 0 20px;
}

.section-banner .content {
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 40px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Section 1 */
.section-1 {
  background-color: var(--color-off-white);
  padding: 80px 20px;
}

@media (max-width: 767px) {
  .section-1 .row .column-left {
    order: 1;
  }
}

/* Components */

/* logo */
.logo-container {
  max-width: 280px; 
}

.logo-container .logo {
  width: 100%;
}

/* Social Media */
.social-media-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 200px;
}

/* card */
.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-color: var(--color-white);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-height: 150px;
  gap: 1rem;
  position: relative;
}

.card-stretch {
  justify-content: flex-start;
  height: 100%;
}

.card .card-image-container {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.card .card-image-container .card-image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .card-image-container:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.card .card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--color-white);
}

/* social-media Footer */
.social-media {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.social-media a {
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.social-media a:hover {
  color: var(--color-primary-dark);
}

/* list Contact Details */
.list-contact-details {
  position: relative;
}
.list-contact-details li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 1rem;
}

.list-contact-details li span {
  position: absolute;
  left: 0;
  top: 4px;
}

/* list Social Link sidebar */
.list-social-links {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}
.list-social-links li {
  position: relative;
}
.list-social-links li .fa-brands {
  font-size: 1.35rem;
}

/* Search Bar */
.search-container{
  min-width: 50%;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;  
}
.search-container form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.search-container input[type="text"] {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  height: 49px;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1rem;
}
.search-container input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary-dark);
}
.search-container button {
  background-color: transparent;
  color: var(--color-primary-light);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  height: 100%;
  width: 61px;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-container button:hover {
  color: var(--color-primary-dark);
}
.search-container button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}
.search-container button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* icon-container */
.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}



/* navigation */
.nav-container,
.nav-container nav.main-nav {
  display: block;
  height: 100%;
  position: relative;
}

.nav-container nav.main-nav ul {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
  height: 100px;
  width: 100%;
}

.nav-container nav.main-nav ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
  gap: 8px;
}

.nav-container nav.main-nav ul li a img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-container nav.main-nav ul li a span {
  font-size: 0.8rem;
  color: var(--color-white);
}

.toggle-menu-container,
#toggle-menu {
  display: none
}

.toggle-menu-container {
  display: none;
  background: #333;
  color: white;
  padding: 10px;
  cursor: pointer;
  text-align: center;
}

.toggle-menu-container span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  right: 10px;
  
}



/* Responsive Styles */
@media screen and (max-width: 1200px) {

  /* Header + Search Container */
  .header-top .container {
    flex-wrap: wrap;
  }

  .header-top .container .search-container{
    order: 1;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
  }  
}

@media screen and (max-width: 767px) {
  /* Header + Search Container */
  .header-content {
    min-height: 40px;
    height: auto;
  }

  /* Navigation */  
  .nav-container nav.main-nav {
    display: none;
  }

  .nav-container nav.main-nav ul {
    background-color: var(--color-primary);
    flex-flow: column nowrap;
    height: auto;
  }

  .nav-container nav.main-nav ul li {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 8px 0;
  }
  .nav-container nav.main-nav ul li:last-child{
    margin-bottom: 0;
  }

  .nav-container nav.main-nav ul li:hover {
    background-color: var(--color-primary-dark);
  }

  .nav-container nav.main-nav ul li a img {
    display: none;
  }

  .toggle-menu-container {
    display: block;
  }

  #toggle-menu:checked ~ .main-nav {
    display: block;
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 10;
    width: 100%;
  }

}

