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

body {
    background-color: #000;
    font-family: 'Open Sans', sans-serif;
    color: white;
    line-height: 1.6;
    letter-spacing: 0.2px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    text-align: center;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 1px;
    font-weight: 700;
}

p {
    letter-spacing: 0.3px;
}

a {
    color: #fff;
}

header {
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    align-items: center;
    flex-wrap: wrap;                
    padding: 0.5rem 2rem;
    background-color: #8B0000;
    z-index: 100;
    width: 100%;
    min-height: 6vh;
    max-height: 8vh;
    position: sticky;
    top: 0;
}

#header-logo a {
    font-size: 1.6rem;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    min-width: 15vw;
    max-width: 25vw;
}

#header-nav {
    flex: 1;    
    display: flex;
    justify-content: center;
    min-width: 40vw;
    max-width: 60vw;
}

#header-nav-ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#header-nav-ul a {
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    position: relative;
    min-height: 5vh;
    transition: color ease-in-out 0.5s;
}

#header-nav-ul a:hover {
    background-color: #FFD700;
    color: #8B0000;
    border-radius: 3px;
}

#main-container {
    padding-top: 4vh;
    flex: 1;
    width: 100%;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-header {
    font-size: 2rem;
    border-bottom: solid #FFD700 0.2rem;
    padding-bottom: 0.5rem;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    max-width: 80vw;
}

.content-para {
    font-size: 1rem;
    max-width: 60vw;
    margin: 0 auto;
}

.sub-section {
    padding: 4rem 1rem;
}

.sub-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: solid #FFD700 0.2rem;
    padding-bottom: 0.5rem;
}

#sub-section-sub {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.sub-section p {
    font-size: 1rem;
    max-width: 56rem;
}

.why-us-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;  
    margin: 0 auto;
    padding-top: 4rem;
    max-width: 1200px;
}

.why-us-list li {
    flex: 1 1 220px;
    max-width: 250px;
    font-size: 0.8rem;
    background: #8B0000;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.5rem;   
    transition: background-color  linear 0.5s;
}

.why-us-list li:hover {
    background: #444444;
}

.services {
    padding: 1.5rem 1rem;
    padding-top: 0;
    padding-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.service-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-item {
    flex: 1 1 280px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.service-item i {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    color: #8B0000;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.9rem;    
}

#page-footer {
    z-index: 100;
    background-color: #444444;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: auto;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    padding: 1.2rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#footer-right {
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

#footer-right h3 {
    display: block;
    padding: 0;
    line-height: normal;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

#important-para {         
    display: block;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    margin-top: 1rem;
}

#flex-section {
    display: flex;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 0.8rem;
    justify-content: center;
    align-items: flex-start;
    align-self: center;
    gap: 4rem;
    padding: 0.8rem 1rem;
    width: 100%;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
}

#footer-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#footer-nav li:hover {
    text-decoration-line: underline;
}

.e-mail {
    text-decoration-line: none;
}

#company-address p, #company-address a {
    line-height: 1.5;
    margin: 0;
    padding: 0.5rem 0;
}

#company-address p:nth-child(1), #company-address p:nth-child(2) {
    display: block;
    width: 100%;
}

#company-address {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.2rem;
    word-spacing: 0.2px;
    max-width: 420px; 
    padding: 0.8rem 0;
    flex: 1;
}

#footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 1.5rem;
    gap: 0.2rem;
    padding-top: 1.4rem;
    min-width: 160px;
    max-width: 180px; 
}

#footer-nav li a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
}

#form-social-media {
    flex: 1;
    padding: 0 0.6rem;
    margin: 0;
}

.form-header {
    display: block;
    font-size: 1.75rem;
    line-height: normal;
    padding: 0;
    margin-bottom: 0.5rem;
}

.form-para {
    font-size: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: block;
}

#form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    border-radius: 0.8rem;
    color: #fff;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    max-width: 500px;
    margin: 1.2rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#form input, #form textarea {
    width: 100%;
    margin: 0.8rem 0;
    padding: 0.8rem;
    border-radius: 0.5rem;
    resize: none;
    border: none;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    transition: background-color 0.5s linear, outline 0.5s linear;
    line-height: 1.5;
}

#form input:focus, #form textarea:focus {
    background-color: #fff;
    outline: 3px solid #FFD700;
}

#form input[type='submit'] {
    background-color: #fff;
    font-weight: 700;
    border: #FFD700 solid 3px;
    border-radius: 0.5rem;
    color: #444444;
    cursor: pointer;
    width: 75%;
    margin-top: 1rem;
}

.footer-social-media {
    position: relative;  
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    width: 100%;        
}

.footer-social-media a i {
    font-size: 2rem;
}

#copyright {
    background-color: #000000;
    width: 100%;
    z-index: 100;
}

#copyright p {
    font-size: 0.75rem;
    padding-left: 5px;
}

main {
    background-position: top center;
    background-size: cover;
    z-index:50;
    transition: background .5s ease-in-out;
}

.bg {
  position: fixed;   
  inset: 0;
  background-size: cover;
  background-position: top center;
  opacity: 0;
  transition: opacity .5s ease-in-out;
  z-index: -1;
}

.bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); 
}

.bg.active {
  opacity: 0.5;
}

body::after {
  content: "";
  position: fixed;
  z-index: 1;
  inset: 0;
  background-position: top center;            
}

main, footer, #copyright {
  position: relative;
}

#form-social-media, #footer-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

#form-social-media .form-header, #footer-right h3 {
    margin-top: 0;
    line-height: 1.2;
    font-size: 1.75rem;
}

.fa-facebook-square {
    color: #3b5998;
}

.fa-instagram {
    color: #833AB4;
}

.fa-whatsapp {
    color: #25d366;
}

.fa-x-twitter {
    color: #000000;
}