/* =========================
   CSS VARIABLES (THEME)
========================= */
:root {
  --max-width: 1200px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;

  --radius: 12px;

  --light-blue: #48b0f3;
  --yellow:  #f2d52b;
  --dark-blue: #173340;
  --color-dark: #222;
}

/* =========================
   RESET / BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
  	COLORS
========================= */
.light-blue{
	background-color: #48b0f3;
}
.yellow{
	5px solid #f2d52b
}


body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  background: var(--color-bg);
  color: var(--color-dark);
}

/* =========================
   LAYOUT UTILITIES
========================= */
.container {
  width: min(var(--max-width), 90%);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-lg);
}
.navigation{
	text-align: right;
	margin: 0;
	padding: 0;
}
.navigation li{
	display: inline-block;
	font-size: 18px;

}
.navigation li a{
	padding: 10px 20px;
	color: var(--light-blue);
	text-decoration: none;
	font-weight: bold;
	transition: all ease .5s;
}
.navigation li a:hover{
	color: var(--dark-blue);
}

.navigation li a.active{
	color: var(--dark-blue);
}
.logo{
	max-width: 100%;
	margin: 0 auto;
}
h2, h1{
  font-size: 28px;
  margin-bottom: 0;
}
.main.section p{
  line-height: 30px;
  font-size:20px;
  margin-top:0;
}
/* =========================
   COMPONENT SECTIONS
========================= */
.navbar {
  background: var(--color-muted);
  padding-block: var(--space-sm);
}

.hero {
background: url("images/background.png") bottom center no-repeat var(--light-blue);
  min-height: 300px;
  display: grid;
  display: grid;
  justify-items: center;  /* horizontal center */
  align-items: end;  
  border-bottom: 5px solid var(--yellow);
  position: relative;
  text-align: center;
}
.hero:after{
  content: "";
  position: absolute;

  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);

  width: 75px;
  height: 75px;

  background: url("images/icon-1.png") no-repeat center / contain;
}


.main {
  background: var(--color-surface);
  min-height: 300px;
}

.gallery {
  background: ;
}

.footer {
  background: var(--dark-blue);
  position: relative;
  border-top: 5px solid var(--yellow);
}
.footer:before{
  content: "";
  position: absolute;

  top: -35px;
  left: 50%;
  transform: translateX(-50%);

  width: 75px;
  height: 75px;

  background: url("images/icon-1.png") no-repeat center / contain;
}

/* =========================
   REUSABLE BOX (placeholder)
========================= */
.box {
  color:#ccc;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--space-md);
  min-height: 120px;

  display: flex;
  flex-direction: column;   /* 🔥 THIS is the key */

  align-items: flex-start;  /* left align */
  justify-content: flex-start; /* top align */
}
.box span{
	display: block;
	color: var(--light-blue);
	font-size: 24px;
}
.box p{
	margin-top: 2px;
	font-size: 18px;
}

/* =========================
   GALLERY GRID
========================= */
.grid-gallery {
  display: grid;
  gap: var(--space-sm);

  grid-template-columns: 1fr;

}
.grid-gallery .box{
	text-align: center;
}
.grid-gallery img{
	max-width: 100%;
	margin-bottom: 15px;
}
.grid-gallery  a{
	text-decoration: none;
	color: var(--dark-blue);
	font-size: 20px;
	transition: all ease .5s;
	padding-bottom: 20px;
}
.grid-gallery  a:hover{
	background: var(--dark-blue);
	color: var(--light-blue);
}
/* =========================
   FOOTER GRID
========================= */
.grid-footer {
  display: grid;
  gap: var(--space-sm);

  grid-template-columns: 1fr;
}

  .hide-for-phone{
  	display:none;
  }
  .show-for-mobile{
  	display:block;
  }
  .show-for-tablet, .show-for-desktop{
  	display:none;
  }
  .adjusted-height{
  margin-top:80px;
}

/* =========================
   TABLET (≥768px)
========================= */
@media (min-width: 768px) {
  .grid-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  /* third footer goes full width below */
  .grid-footer > :nth-child(3) {
    grid-column: 1 / -1;
  }
  .hide-for-tablet{
  	display:none;
  }
  .show-for-tablet{
  	display:block;
  }

	.hero {
		background: url("images/background.png") bottom left no-repeat var(--light-blue);
	}
}
/* =========================
   DESKTOP (≥1024px)
========================= */
@media (min-width: 1024px) {
  .grid-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-footer {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-footer > :nth-child(3) {
    grid-column: auto;
  }
  .hide-for-mobile{
  	display:none;
  }
  .hide-for-desktop{
  	display:none;
  }
  .show-for-desktop{
  	display:block;
  }
}

.center{
	text-align: center;
	width: 100%;
}
input{
	width: 100%;
	height: 40px;
	margin-bottom: 15px;
	border-radius: 5px;
	padding: 5px;
}
input[type="submit"]{
background:var(--yellow);
	}
textarea{
	height: 100px;
	width: 100%;
	margin-bottom: 15px;
	border-radius: 5px;
	padding: 5px;
}
.ceo{
	color:var(--light-blue);
	font-size:18px;
	margin-top: 80px;
}
.ceo img{
	max-width: 200px;
}
.all{
	text-align:center;
	margin-bottom: 50px;

}
.all a{
	display:inline-block;
	padding: 10px 25px;
	font-size: 24px;
	background: var(--light-blue);
	color: #fff;
	border-radius: 10px;
	text-decoration: none;
	transition: all ease .5s;
}
.all a:hover{
	background: var(--dark-blue);
}