:root {
  /* ========================================
     COLOR PALETTE - LIGHT THEME
     ======================================== */
  --background-color: #b2beb5;
  --surface-color: #36454f;
  --box-card-color: #e5e4e2;
  --text-light-color: #e5e4e2;
  --text-dark-color: #353935;
  --text-shadow-color: #b2beb5;
  --shadow-color: rgba(0, 0, 0, 0.1);

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-family-base:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  --font-size-base: 1rem; /*equals to 16px*/

  /* Base line height for improved readability. It's unitless, meaning it's a multiplier of the font size. */
  --line-height-base: 1.5;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* ========================================
     SPACING & LAYOUT
     ======================================== */
  /* A base unit for consistent spacing (margins, padding). We can use multiples of this unit. */
  --spacing-unit: 1rem;

  /* Max width for our .container class to ensure content is readable on wide screens. */
  --container-width: 1140px;
  --container-side-margin: 120px;

  /* A consistent border-radius for rounded corners on buttons, cards, and inputs. */
  --border-radius: 0.25rem;
}

/*
  ========================================
  CSS RESET
  ========================================
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

#root,
#__next {
  isolation: isolate;
}

/*
  ========================================
  BASE STYLES
  ========================================
*/
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-dark-color);
  background-color: var(--background-color);
}

/*
  ========================================
  HEADER & NAVIGATION
  ========================================
*/
header {
  background-color: var(--surface-color);
  /* box-shadow: 0 2px 4px var(--shadow-color); */
  box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.588);
  padding: var(--spacing-unit) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* We also apply our max-width and centering here. */
  max-width: var(--container-width);
  margin: 0 auto; /* Centers the container horizontally */
  padding: 0 var(--spacing-unit); /* Adds padding on the sides for smaller screens */
}

header .container h2 {
  color: var(--text-light-color);
  font-size: 25px;
}

header nav ul {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  color: var(--text-light-color);
  font-weight: var(--font-weight-bold);
  padding: 0.5rem;
  transition: color 0.3s ease-in-out;
}

header nav ul li a:hover {
  color: var(--text-shadow-color);
}

/*
  ========================================
  MENU TOGGLE (HAMBURGER)
  ========================================
  Styles for the mobile navigation toggle button.
*/
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle i {
  color: var(--text-light-color);
  font-size: calc(var(--font-size-base) * 1.6);
}

#closeBtn {
  display: none;
}

/*
  ========================================
  About SECTION
  ========================================
*/
#about {
  padding: calc(var(--spacing-unit) * 4) 0;
}

#about .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

#about .container h2 {
  font-size: calc(var(--font-size-base) * 2);
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  width: 50%;
  padding-right: 70px;
}

.about-image {
  width: 50%;
}

.about-text p {
  /* word-break: break-all; */
  letter-spacing: 0.3px;
  font-size: var(--font-family-base);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: calc(var(--spacing-unit) * 2);
}

.img-1 {
  grid-row: span 4 / span 4;
}

.img-2 {
  grid-row: span 4 / span 4;
  grid-row-start: 2;
  grid-column-start: 2;
}

.image-grid img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 0 35px 0 35px;
  border: 1.5px solid rgba(0, 0, 0, 0.201);
  box-shadow: 3px 3px 10px 10px #777;
}

/*
  ========================================
  Footer SECTION
  ========================================
*/
footer {
  background-color: var(--surface-color);
}

footer .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: calc(var(--spacing-unit) * 2) 0 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.about {
  width: 50%;
  padding-right: calc(var(--spacing-unit) * 5);
}

.services {
  width: 30%;
}
.media {
  width: 20%;
}

.footer-profile {
  display: flex;
  gap: var(--spacing-unit);
  margin-bottom: var(--spacing-unit);
}

.fp-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fp-name h3 {
  font-size: calc(var(--font-size-base) * 1.4);
  color: var(--text-light-color);
}

.fp-name p {
  color: #a0a0a0;
}

.footer-profile img {
  height: 60px;
  width: 60px;
  background-color: #fff;
  border-radius: 50%;
}

.footer-col {
  color: #a0a0a0;
}

.footer-btn {
  display: flex;
  gap: 15px;
  margin-top: var(--spacing-unit);
}
.footer-btn a {
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 25px;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fffff0;
  border: none;
}

.services h3,
.media h3 {
  color: var(--text-light-color);
  margin-bottom: var(--spacing-unit);
}

ul {
  list-style: none;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 15px;
  text-decoration: none;
  color: #a0a0a0;
  transition: all 0.3s ease;
}
.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-col .social-links a {
  display: inline-block;
  height: 35px;
  width: 35px;
  font-size: 18px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #e5e4e2;
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 37px;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.footer-col .social-links #fb:hover {
  background-color: #1877f2;
  color: #e5e4e2;
}
.footer-col .social-links #insta:hover {
  background-color: #ff0069;
  color: #e5e4e2;
}
.footer-col .social-links #whp:hover {
  background-color: #25d366;
  color: #e5e4e2;
}
.footer-col .social-links #yt:hover {
  background-color: #ff0000;
  color: #e5e4e2;
}

.copyright {
  border-top: 1px solid var(--text-light-color);
  color: #a0a0a0;
  text-align: center;
  height: 50px;
  line-height: 50px;
}

.copyright a {
  text-decoration: none;
  color: #a0a0a0;
}

.copyright a:hover, .copyright a:focus {
  color: #5684c1;
}

/*
  ========================================
  RESPONSIVE STYLES - MEDIA QUERIES
  ========================================
*/
/* 
  Breakpoint 1: Tablet Devices
*/
/*------- Responsive Navbar --------*/
@media (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  nav .menu {
    display: none;
  }

  #menuBtn {
    display: block;
  }

  /* header {
    position: relative;
  } */  
  nav .menu {
    flex-direction: column;
    position: absolute;
    top: 69px;
    left: 0px;
    background-color: var(--surface-color);
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.588);
    width: 25%;
    padding: 25px 0;
    text-align: center;
    transition: all 0.5s ease-in-out;
  }

  nav .menu li a {
    font-size: calc(var(--font-size-base) * 1);
    padding: var(--spacing-unit);
  }

  header nav ul li a:hover,
  header nav ul li a:focus,
  header nav ul li a:active {
    color: var(--text-shadow-color);
  }

  .menu-toggle {
    display: block;
  }
}

/*-------About Section----------*/
@media (max-width: 768px) {
  #about .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
  }

  #about .container h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
  }

  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .about-text {
    order: 2;
    width: 100%;
    padding: 0;
    word-break: break-all;
  }

  .about-image {
    order: 1;
    width: 100%;
    margin-bottom: calc(var(--spacing-unit) * 4);
  }

  .image-grid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border: 1.5px solid rgba(0, 0, 0, 0.201);
    box-shadow: 2px 2px 8px 8px #777;
  }
}

/* ----------Footer Section ------*/
@media (max-width: 768px) {
  footer .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
  }

  .footer-col .social-links a {
    margin: 10px;
  }

  .copyright {
    border-top: 1px solid var(--text-light-color);
    color: #a0a0a0;
    text-align: center;
    height: 30px;
    line-height: 50px;
  }
}

/* 
 ========= Breakpoint 2: Mobile Devices ==========
*/
/*------ Navbar ------*/
@media (max-width: 480px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  nav .menu {
    flex-direction: column;
    position: absolute;
    top: 69px;
    left: 0px;
    background-color: var(--surface-color);
    width: 35%;
    padding: 25px 0;
    text-align: center;
    transition: all 0.5s ease-in-out;
  }

  nav .menu li a {
    font-size: calc(var(--font-size-base) * 0.9);
    padding: var(--spacing-unit);
  }
}

/*-----------About Section----------*/
@media (max-width: 480px) {
  #about {
    padding: calc(var(--spacing-unit) * 2) 0 calc(var(--spacing-unit) * 3);
  }

  #about .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit));
  }

  #about .container h2 {
    font-size: calc(var(--font-size-base) * 1.5);
    text-align: center;
  }

  .about-text {
    width: 100%;
  }

  .about-image {
    width: 100%;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: calc(var(--spacing-unit) * 1);
  }

  .image-grid img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    border: 1.5px solid rgba(0, 0, 0, 0.201);
    box-shadow: 1px 1px 5px 5px #777;
  }
}

/* ----------Footer Section ------*/
@media (max-width: 480px) {
  footer .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 1);
  }

  .footer-row {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit));
    margin-bottom: calc(var(--spacing-unit) * 1);
  }

  .footer-row h3 {
    margin-bottom: 0.5rem;
  }

  .fp-name h3 {
    margin-bottom: 0.2px;
  }

  .about {
    width: 100%;
    padding-right: calc(var(--spacing-unit) 0);
  }

  .about p {
    font-size: var((--font-size-base));
    word-break: break-all;
  }

  .footer-btn a {
    font-size: 0.9rem;
  }

  .services {
    width: 100%;
  }
  .media {
    width: 100%;
  }

  .footer-col .social-links a {
    margin: 10px;
  }

  .copyright {
    border-top: 1px solid var(--text-light-color);
    color: #a0a0a0;
    text-align: center;
    height: 40px;
    line-height: 50px;
  }
  .copyright p {
    font-size: 0.9rem;
  }
}

/* 
 ========= Breakpoint 3: Small Mobile Devices ==========
*/
@media (max-width: 394px) {
  /* #hero .container .intro {
  display: flex;
  flex-direction: column;
  padding-left: calc(var(--spacing-unit)*3);
  padding-right: calc(var(--spacing-unit)*2);
}

.get-in-touch {
    width: 46%;
  } */

  /* .copyright {
    border-top: 1px solid var(--text-light-color);
    color: #a0a0a0;
    text-align: center;
    height: 40px;
    line-height: 50px;
  } */
  .copyright p {
    font-size: 0.8rem;
  }
}
