/* CSS BY Bryan Gonzalez */

/* IMPORTED FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Kavoon&display=swap');

/* CSS RESET */
/* 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;
}
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;
}

/* ROOT VARIABLES */
:root {
    --teal: #4CA7C0;
    --purple: #484FB7;
    --lavender: #6B8FE7;
    --yellow: #E9BB57;
    --pink: #D9526F;
    --dark-gray: #1E1E1E;
    --white: #ffffff;
}

/* GLOBAL STYLES (mobile first/small) */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--purple);
    color: var(--dark-gray);
    max-width: 450px;
    margin: auto;
}

html {
    background-color: var(--lavender); 
}

h1, h2 {
    font-family: 'Kavoon', serif;
    color: var(--white);
}

h1 {
    font-size: 3em;
}

nav h2 {
    font-size: 1.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.15em;
    color: var(--purple);
    font-weight: bold;
    padding-bottom: 10px;
}

main {
    padding: 0 16px 30px;
}

section {
    margin-bottom: 0; 
}

header {
    text-align: center;
    padding: 30px 0px 0px;
    background-color: var(--purple);
    color: var(--white);
    margin-bottom: 20px;
}

header h1 {
    color: var(--white);
}

header h2 {
    color: var(--dark-gray);
    font-family: 'Inter', sans-serif;
    font-size: 1.3em;
    font-style: italic;
    font-weight: 700;
}

header h1 {
    margin: 0 0 5px;
    font-size: 2.5em; 
}

header p {
    font-size: 0.8em;
    margin: 0 0 20px;
    color: var(--white);
    font-style: italic;
}

nav {
    background-color: var(--yellow);
    padding: 15px 15px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

nav a {
    background-color: var(--white);
    color: var(--purple);
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    padding: 10px 15px;
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

#services div div {
   background-color: var(--white);
   border-radius: 15px;
   padding: 20px;
   margin-bottom: 18px;
}

#services div div img{
   margin-bottom: 10px;
}

#services h3 {
    color: var(--yellow); 
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 1.5em;
    font-weight: 800;
}

#services p {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 0; 
}

#why ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#why {
    background-color: var(--pink);
    padding: 30px 16px;
}

#why h2 {
    margin-bottom: 20px;
}

#why ul {
    list-style: none;
    padding: 0;
    margin: 0;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#why li {
    min-height: 80px;
    padding: 20px;
    border-radius: 10px;
    text-align: center; 
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15em;
    line-height: 1.3;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

#why li:nth-child(1) {
    background-color: var(--teal);
}

#why li:nth-child(2) {
    background-color: var(--lavender);
}

#why li:nth-child(3) {
    background-color: var(--yellow);
}

#why li:nth-child(4) {
    background-color: var(--white);
}

#prices {
    color: var(--white);
}

#prices h2 {
    margin-bottom: 37px;
    margin-top: 20px;

}

#prices h3 {
    color: var(--yellow); 
    margin-top: -30px;
    margin-bottom: 10px;
    font-weight: 700;
}

#prices > div {
    margin-bottom: 40px; 
}

#prices table {
    width: 55%; 
    margin-left: auto;
    margin-right: auto;
    border: 2.3px solid var(--yellow);
    border-collapse: collapse;
}

#prices th, 
#prices td {
    border: 2.3px solid var(--yellow); 
    padding: 15px 10px;
}

#prices th {
    background-color: var(--yellow);
    color: var(--dark-gray); 
    font-weight: 700; 
    text-align: center;
}

#prices td {
    background-color: var(--white);
    color: var(--dark-gray);
    text-align: left;
    font-size: 0.9em;
    font-weight: 500;
}

#contact {
    background-color: var(--pink); 
    padding: 20px 10px;
    text-align: left;
}

#contact h2 {
    color: var(--white);
    font-size: 2em;
    margin-bottom: 10px;
    line-height: 1.1;
}

#contact p {
    color: var(--white);
    font-size: 1.1em;
    line-height: 1.4;
    margin-bottom: 10px;
}

#contact a {
    display: block;
    padding: 15px 30px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--white);
    color: var(--dark-gray);
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 800;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
}

footer {
    color: var(--white);
    padding: 20px 0;
    font-size: 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-bottom: 50px;
    padding-bottom: 50px;
    font-weight: 500;
}

footer a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
}
