*{
  margin: 0;
  padding: 0;
}

html{ scroll-behavior: smooth;}

button,select,input{
  font: inherit;
}

button{
  border: 0;
  background: none;
  cursor: pointer;
}

a{
  color: inherit;
  text-decoration: none;
}

/* Header*/
.header{
  width: 100%;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.top-bar{
  height: 75px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
}

.logo{
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 3px;
}

.main-nav{
  display: flex;
  gap: 30px;
}
.main-nav a{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}

.main-nav a:hover {
    text-decoration: underline;
}

.header-icons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-icons button {
    font-size: 22px;
    position: relative;
}

/*MOBILE nav and menu*/
.mobile-nav {
    display: none;
}
.mobile-menu {
    display: none;
}


/*Contact us box*/

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    color: #111;
}

/*Contact container*/

.contact-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 10px;
}

p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

input,textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}


/* Footer */
footer {
    margin-top: 80px;
    background: #f5f5f5;
    padding: 60px 40px 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid h3 {
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.footer-grid h4 {
    font-size: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-grid p {
    font-size: 13px;
    color: #666;
}

.footer-grid a {
    display: block;
    font-size: 13px;
    margin-bottom: 12px;
    color: #555;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #000;
    text-decoration: underline;
}

.copyright {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #888;
    font-size: 11px;
}

/* Footer style*/

footer {
background: #f5f5f5;
padding: 70px 40px 25px;
}

.footer-grid {
width: min(1200px, 100%);
margin: 0 auto;

display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 50px;
}

.footer-grid h3 {
font-family: "Times New Roman", Times, serif;
font-size: 24px;
letter-spacing: 4px;
margin-bottom: 15px;
}

.footer-grid h4 {
font-size: 12px;
margin-bottom: 20px;
letter-spacing: 1px;
}

.footer-grid p {
max-width: 350px;
font-size: 13px;
line-height: 1.7;
color: #666;
}

.footer-grid a {
display: block;
width: fit-content;
font-size: 13px;
margin-bottom: 12px;
color: #555;
transition: color 0.2s ease;
}

.footer-grid a:hover {
color: #000;
text-decoration: underline;
}

.copyright {
width: min(1200px, 100%);
margin: 60px auto 0;
padding-top: 20px;
border-top: 1px solid #ddd;

color: #888;
font-size: 11px;
}

/* For mobile and tablet */

@media (max-width: 900px) {

.top-bar {
padding: 0 25px;
}

.main-nav {
gap: 18px;
}

.wrapper {
grid-template-columns: 1fr;
gap: 50px;
}

.content {
text-align: center;
}

.content p {
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

.images img {
max-width: 600px;
}

.footer-grid {
grid-template-columns: 1fr 1fr;
gap: 40px;
}
}

@media (max-width: 650px) {

.top-bar {
min-height: 65px;
padding: 0 20px;
}
.logo {
font-size: 22px;
}

.main-nav {
display: none;
}

.header-icons {
gap: 12px;
}

.header-icons button {
font-size: 19px;
}

.mobile-nav {
display: block;
}

.mobile-menu {
display: none;
}

/* Footer */

footer {
padding: 50px 25px 20px;
}

.footer-grid {
grid-template-columns: 1fr;
gap: 35px;
}

.copyright {
margin-top: 40px;
}
}
