/* Variables */
:root {
  --color-blue-light: #0090ff;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-blue: rgb(11, 95, 159);
  --color-gray: #737373;
  --color-gray-light: rgba(255, 255, 255, 0.9);
}

body{
   background-color: var(--color-black);
    color: var(--color-white);
    font-size: 18px;
}

body::before, body::after{
    content: '';
    background-color: var(--color-black);
    display: block;
    width: 100%;
    height: 45px;
}

body::before{
    height: 75px;
}

body::after{
    margin: 30px 0 0;
}

.wrapper{
    max-width: 1550px;
    margin: auto;
    padding: 0 30px;
}

.wrapper--narrow{
    max-width: 1450px;
    margin: auto;
    padding: 0 30px;
}

.wrapper > .block, .wrapper--narrow > .block{
    margin-top: 75px;
}

.header__main{
    border-bottom: 3px solid var(--color-white);
}

h1, h2, h3{
    font-family: 'Poppins' sans-serif;
    color: var(--color-white);
}

h1{
    font-size: 54px;
    font-style: italic;
    text-align: center;
}

h2{
    font-size: 32px;
    text-align: center;
    margin-top: 45px;
}

h3{
    font-size: 21px;
}

/* UNIT CARDS */
.block__unit {
	margin-top: 60px;
}

.block__unit h2 {
	text-align: center;
	margin-bottom: 40px;
}

.unit__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.unit__item {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.25s ease;
}

.unit__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 144, 255, 0.3);
}

.unit__image {
	aspect-ratio: 8 / 5;
	overflow: hidden;
}

.unit__image img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
	transition: all 0.25s ease;
}

.unit__item:hover .unit__image img {
	transform: scale(1.05);
}

.unit__content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.unit__content p {
	font-size: 16px;
	color: #404040;
	margin: 0;
}

.unit__content .unit__unit {
	font-family: "Hammersmith One", sans-serif;
	font-size: 20px;
	color: var(--color-blue);
    font-weight: bold;
	text-transform: uppercase;
}

/* RESPONSIVE */
/* ----------------------------------------
   RESPONSIVE - max-width: 1200px
   ---------------------------------------- */
@media screen and (max-width: 1200px) {
    .wrapper {
        max-width: 100%;
    }

    .wrapper--narrow {
        max-width: 100%;
    }

    h1 {
        font-size: 42px;
    }
}

/* ----------------------------------------
   RESPONSIVE - max-width: 960px
   ---------------------------------------- */
@media screen and (max-width: 960px) {
    .unit__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 26px;
        margin-left: 15px;
    }
}

/* ----------------------------------------
   RESPONSIVE - max-width: 768px
   ---------------------------------------- */
@media screen and (max-width: 768px) {
    body::before {
        height: 50px;
    }

    body::after {
        margin: 20px 0 0;
    }

    .wrapper,
    .wrapper--narrow {
        padding: 0 20px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
        margin-left: 10px;
    }

    h3 {
        font-size: 18px;
    }

    .block__unit {
        margin-top: 40px;
    }

    .block__unit h2 {
        margin-bottom: 25px;
    }
}

/* ----------------------------------------
   RESPONSIVE - max-width: 640px
   ---------------------------------------- */
@media screen and (max-width: 640px) {
    .unit__grid {
        grid-template-columns: 1fr;
    }

    .unit__content .unit__unit {
        font-size: 17px;
    }
}

/* ----------------------------------------
   RESPONSIVE - max-width: 480px
   ---------------------------------------- */
@media screen and (max-width: 480px) {
    body::before {
        height: 35px;
    }

    .wrapper,
    .wrapper--narrow {
        padding: 0 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
        margin-left: 0;
    }

    .block__unit {
        margin-top: 30px;
    }

    .unit__content {
        padding: 15px;
    }
}