:root{
    --primary-color: #05063F;
    --accent-color: #C30116;
    --lr-padding: 120px;
    --heading-medium: 28px;
    --heading-small: 26px;
    --heading-large: 39px;
}


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html{
    scroll-behavior: smooth;
}
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;
}

p{
  font-family: 'Raleway', sans-serif;
  font-family: 20px;
  line-height: 150%;
  color: #fff;
  font-size: 20px;
}

*{
  box-sizing: border-box;
}

button, .button{
  border-radius: 8px;
  padding: 14px;
  text-transform: uppercase;
  background-color: var(--accent-color);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  border: none;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
}

.primary-text{
  color: #05063F;
}

body, html{
  background-color: var(--primary-color);
  padding: 0;
  margin: 0;
}

header{
  height: 100px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15px;
  padding-right: 15px;
}

header img{
  height: 70px;
}

.hero{
  height: 100vh;
  padding-left: var(--lr-padding);
  padding-right: var(--lr-padding);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: url('assets/hero-bg.jpg') no-repeat center center/cover;
}

.hero p {
  max-width: 829px;
}


.hero-actions{
  display: flex;
  gap: 18px;
  margin-top: 80px;
}

h2{
 font-family: 'Raleway', sans-serif; 
 font-size: var(--heading-medium);
 color: #fff;
 font-weight: 800;
}

.hero h2{
  margin-bottom: 20px;
}

.pillars-section .content-restrict{
    display: flex;
    width: 100%;
  gap: 100px;
  justify-content: space-between;
  max-width: 1440px;
}

/* pillars */
.pillars-section{
  padding-left: var(--lr-padding);
  padding-right: var(--lr-padding);
  padding-top: 65px;
  padding-bottom: 65px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  width: 356px;
}

.pillar img{
  height: 83px;
}

.pillar h3{
  font-size: var(--heading-medium);
  color: var(--primary-color);
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  max-width: 277px;
  text-align: center;
  line-height: 150%;
}

.pillar p{
  color: var(--primary-color);
  text-align: center;
}

/* about agapex */

.about-agapex{
  padding-left: var(--lr-padding);
  padding-right: var(--lr-padding);
  padding-top: 85px;
  padding-bottom: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/about-bg.jpg') no-repeat center center/cover;
}
.about-agapex .content-restrict{
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-agapex h2{
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 65px;
  font-size: var(--heading-large);
}

.about-agapex p{
  text-align: center;
  margin-bottom: 20px;
  line-height: 150%;
}

/* our services */
.our-services .content-restrict{
    display: flex;
    width: 100%;
  gap: 30px;
  justify-content: space-between;
  max-width: 1440px;
}

.our-services{
  padding-left: var(--lr-padding);
  padding-right: var(--lr-padding);
  padding-top: 65px;
  padding-bottom: 100px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url("assets/services-bg.jpg") no-repeat center center/cover;
}

.our-services h2{
  margin-bottom: 80px;
  text-transform: uppercase;
  color: var(--primary-color);
  font-size: var(--heading-large);
}

.card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  width: 356px;
  padding: 25px 25px;
  height: 454px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card img{
  height: 83px;
}

.card h3{
  font-size: var(--heading-medium);
  color: var(--primary-color);
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  max-width: 277px;
  text-align: center;
  line-height: 150%;
  font-size: var(--heading-small);
}

.card p{
  color: var(--primary-color);
  text-align: center;
  font-size: 16px;
}

/* solutions */
.our-solutions{
  padding-left: var(--lr-padding);
  padding-right: var(--lr-padding);
  padding-top: 85px;
  padding-bottom: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.our-solutions .content-restrict{
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.our-solutions h2{
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 65px;
  font-size: var(--heading-large);
}

.solutions-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-card{
  display: flex;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.list-card-image{
  min-height: 200px;
  height: auto;
  width: 200px;
  background-color: rgb(61, 61, 61);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.list-card-content{
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 20px;
  justify-content: center;
}


.list-card h3{
  font-size: var(--heading-medium);
  color: var(--primary-color);
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 150%;
  font-size: var(--heading-small);
}

.list-card p{
  color: var(--primary-color);
  font-size: 16px;
  text-align: left;
}


/* locations */
.locations{
  padding-left: var(--lr-padding);
  padding-right: var(--lr-padding);
  padding-top: 85px;
  padding-bottom: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/about-bg.jpg') no-repeat center center/cover;
}
.locations .content-restrict{
  gap: 60px;
  max-width: 1440px;
  display: flex;
  align-items: center;
}
.locations h2{
  text-transform: uppercase;
  font-size: var(--heading-large);
  line-height: 150%;
}
.map{
 height: 233px;
}

.locations-copy{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* contact us */
.contact-us{
  padding-left: var(--lr-padding);
  padding-right: var(--lr-padding);
  padding-top: 85px;
  padding-bottom: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.contact-us .content-restrict{
  color: var(--primary-color);
  gap: 20px;
  max-width: 1440px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contact-us h2{
  text-transform: uppercase;
  font-size: var(--heading-large);
  line-height: 150%;
  text-align: center;
  color: var(--primary-color);
}

.contact-us h3{
  font-size: var(--heading-medium);
  line-height: 150%;
  text-align: center;
  font-weight: bold;
  font-family: 'Raleway', sans-serif;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-us p{
  text-align: center;
  font-weight: bold;
  color: var(--primary-color);
}

.contact-method{
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.contact-method img{
  height: 40px;
}

.contact-method a{
  color: var(--primary-color);
}

/* footer */
footer{
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 60px 100px;
  align-items: flex-end;
}

.logo-and-copyright{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

}

footer img{
  height: 70px;
}

.footer-links{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 20px;
}

form{
  width: 100%;
  display: flex;
  flex-direction: column;
}

form input, form textarea{
  margin-bottom: 20px;
  padding: 4px;
  margin-top: 4px;
}

form textarea{
  resize: vertical;
}

form label{
    font-family: 'Raleway', sans-serif;
}

form button{
  margin-top: 20px;
}

@media screen and (max-width: 1200px) {
  :root{
    --lr-padding: 60px;
    --heading-medium: 25px;
    --heading-small: 20px;
    --heading-large: 30px;
  }

  .hero{
    align-items: center;
    text-align: center;
  }

  .hero-actions{
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
  .hero .button{
    padding: 20px 90px;
    text-align: center;
    line-height: 150%;
  }
  
  .pillars-section .content-restrict{
    flex-direction: column;
    align-items: center;
    gap: 90px;
  }

  .pillar{
    width: 90%;
  }

  .our-services .content-restrict{
    flex-direction: column;
    align-items: center;
    gap: 90px;
  }

  .card{
    width: 90%;
    height: auto;
    padding-bottom: 40px;
  }

  .locations .content-restrict{
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  footer{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-links{
    align-items: center;
  }

  .logo-and-copyright{
    align-items: center;
  }
}

@media screen and (max-width: 600px) {
  :root{
    --lr-padding: 20px;
    --heading-medium: 20px;
    --heading-small: 16px;
    --heading-large: 25px;
  }

  .hero{
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .contact-method{
    flex-direction: column;
    gap: 10px;
  }

  .contact-method p{
    font-size: 16px;
  }

  .list-card{
    flex-direction: column;
  }

  .list-card-image{
    width: 100%;
    height: 200px;
  }
}