/* -------------------------
   TABLE OF CONTENTS
   1. Reset
   2. Base Styles
   3. Header
   4. Hero Section
   5. Features Section
   6. Quote Section
   7. Call to Action
   8. Footer
  ------------------------- */ 


/* -------------------------
   1. RESET
  ------------------------- */

/* Universal Selector */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* common universal style */
}

a {
  text-decoration: none;
  color: #e5e7eb;
}

img {
  display: block;
  max-width: 100%;
}

/* -------------------------
   2. BASE STYLES 
  ------------------------- */

body {
  font-family: "Roboto", Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header, 
.hero, 
footer {
  background-color: #1F2937;
}

button {
  background-color: #3882F6;
  color: #f9faf8;
  height: 35px;
  width: 125px;
  font-size: 18px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
}

/* -------------------------
   3. HEADER 
  ------------------------- */

/* Layout  */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 60px;
  padding-right: 60px;
  height: 60px;
}

/* Logo */
.logo {
  font-size: 24px;
  color: #F9FAF8;
}

/* Navigation */
nav a {
  font-size: 18px;
  color: #E5E7EB;
  margin-left: 24px;
}

/* -------------------------
   4. HERO SECTION 
  ------------------------- */

main { 
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F9FAF8;
  padding: 60px;
  height: 400px;
}

.hero__content {
  max-width: 600px;
  height: 240px;
}

.hero__content h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero__content p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #E5E7EB;
}

.hero__image {
  width: 50%;
  height: 240px;
}

.hero__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* -------------------------
   5. FEATURES SECTION 
  ------------------------- */

.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 60px 80px 60px;
}

/* Infor header */
.features h2 {
  font-size: 36px;
  font-weight: 900;
  color: #1F2937;
  margin: 40px 0;
}

/* Card Container */
.features__cards {
  display: flex;
  gap: 40px;
  max-width: 1200px; /* standard size for features illustrates */
}

/* Card Items */
.features__item {
  max-width: 250px; /* fixed size for item */
  text-align: center; /* text stay in center  */
}

/* Card Image */
.features__item img {
  width: 200px; /* fixed size for image */
  height: 200px; /* fixed size for image */
  object-fit: cover; 
}

/* Card Subtext */
.features__item p {
  font-size: 18px;
  color: #4B5563;
  margin-top: 12px;
}

/* -------------------------
   6. QUOTE SECTION 
  ------------------------- */

.testimonials {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #E5E7EB;
  height: 200px;
  text-align: right;
}

.testimonials p {
  font-size: 36px;
  font-style: italic;
  font-weight: 300;
  color: #1F2937;
  text-align: left;
} 

.testimonials cite {
  font-size: 24px;
}
/* -------------------------
   7. CALL TO ACTION 
  ------------------------- */

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3882F6;
  margin: 60px 80px;
  padding: 40px 120px;
  border-radius: 12px;
}

.cta__content {
  color: #F9FAF8;
}

.cta__content h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.cta__content p {
  font-size: 18px;
  color: #E5E7EB;
}

.cta__btn {
  border: 2px solid #F9FAF8;
}

/* -------------------------
   8. FOOTER 
  ------------------------- */

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F9FAF8;
  font-size: 18px;
  height: 60px;
}

/* Temporary Borders */
.border-r { border: dashed 2px red; }
.border-c { border: dashed 2px cyan; }
.border-g { border: dashed 2px green; }
.border-m { border: dashed 2px magenta; }
.border-y { border: dashed 2px yellow; }
.border-b { border: dashed 2px blue; }
