:root {
    /**
     * colors
     */
  
    --maximum-yellow-red: hsl(53, 100%, 50%);
    --royal-blue-dark: hsl(231, 61%, 22%);
    --silver-chalice: hsl(0, 0%, 70%);
    --oxford-blue: hsl(231, 100%, 8%);
    --bittersweet: hsl(30, 95%, 49%);
    --french-rose: hsl(342, 90%, 61%);
    --davys-gray: hsl(180, 3%, 28%);
    --cool-gray: hsl(240, 13%, 62%);
    --platinum: hsl(0, 0%, 92%);
    --white-2: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --rythm: hsl(240, 9%, 53%);
  
    --card-clr: var(--oxford-blue);
    --body-clr: var(--maximum-yellow-red);
    --primary-clr: var(--bittersweet);
    --heading-clr: #dadada;
    --text-clr: #767a86;
  
    /**
     * typography
     */
  
    --ff-poppins: "Poppins", sans-sarif;
  
    --fs-1: 32px;
    --fs-2: 26px;
    --fs-3: 22px;
    --fs-4: 18px;
    --fs-5: 15px;
    --fs-6: 14px;
  
    --fw-700: 700;
    --fw-600: 600;
    --fw-500: 500;
  
    /**
     * transition
     */
  
    --transition: 0.25s ease-in-out;
  }
  
  /*-----------------------------------*\ 
   * #RESET
  \*-----------------------------------*/
  
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  li {
    list-style: none;
  }
  
  a {
    text-decoration: none;
  }
  
  a,
  img,
  button,
  span,
  ion-icon,
  label,
  input,
  textarea {
    display: block;
  }
  
  button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  textarea,
  input {
    font: inherit;
    background: none;
    border: none;
    width: 100%;
  }
  
  :is(input, textarea):focus {
    outline: none;
  }
  
  :focus {
    outline-offset: 4px;
  }
  
  html {
    font-family: var(--ff-poppins);
    scroll-behavior: smooth;
  }
  
  body {
    background: var(--white);
    overflow-x: hidden;
  }
  
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--white);
  }
  
  ::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 50%);
  }
  
  /*-----------------------------------*\ 
   * #REUSED STYLE
  \*-----------------------------------*/
  
  .container {
    padding: 0 15px;
  }
  
  .h1,
  .h2,
  .h3 {
    font-weight: var(--fw-600);
    line-height: 1.3;
    text-transform: capitalize;
  }
  
  .h1 {
    color: var(--oxford-blue);
    font-size: var(--fs-1);
  }
  
  .h2 {
    font-size: var(--fs-2);
  }
  
  .h3 {
    color: var(--oxford-blue);
    font-size: var(--fs-3);
  }
  
  .h4 {
    color: var(--royal-blue-dark);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
  }
  
  .btn {
    font-size: var(--fs-6);
    text-transform: uppercase;
    font-weight: var(--fw-600);
    padding: 12px 32px; /* Adjust padding for better balance */
    border: none; /* Remove default border */
    border-radius: 8px; /* Slightly larger border-radius for a more rounded look */
    display: inline-flex; /* Aligns content in a row */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Centers content within the button */
    gap: 12px; /* Slightly reduced gap */
    background: var(--bittersweet);
    color: var(--white);
    text-decoration: none; /* Remove underline from links */
    box-shadow: 0 4px 8px rgba(255, 47, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for interactive effects */
    position: relative; /* For positioning pseudo-elements */
    overflow: hidden; /* Ensures the gradient background doesn't overflow */
  }
  
  .btn-icon-container {
    perspective: 3000px; /* Adds perspective to the container to enhance the 3D effect */
  }
  
  .btn-icon {
    width: 6rem;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    -webkit-transition: transform 0.6s ease;
    -moz-transition: transform 0.6s ease;
    -ms-transition: transform 0.6s ease;
    -o-transition: transform 0.6s ease;
  }
  
  .btn-icon:hover {
    transform: rotateY(180deg); /* Flip 180 degrees on the Y-axis */
  }
  
  .btn-primary {
    background: var(--bittersweet);
    border-color: var(--bittersweet);
  }
  
  .btn-primary:hover,
  .btn-primary:focus {
    background: linear-gradient(
      45deg,
      hsl(2, 90%, 70%),
      hsl(21, 100%, 50%)
    ); /* Gradient background on hover */
    color: var(--white);
    border-color: hsl(2, 90%, 60%);
    box-shadow: 0 8px 16px rgba(255, 60, 0, 0.653); /* More pronounced shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
  }
  
  .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* Light overlay effect */
    transition: all 0.3s ease;
  }
  
  .btn-primary:hover::after {
    width: 100%;
  }
  
  .btn-secondary {
    background: hsla(0, 0%, 100%, 0.1);
    color: var(--bittersweet); /* Match text color with button border color */
    border: 1px solid var(--bittersweet); /* Add border for secondary buttons */
  }
  
  .btn-secondary:hover,
  .btn-secondary:focus {
    background: hsla(0, 0%, 100%, 0.2); /* Lighten background on hover/focus */
    color: var(--bittersweet);
    border-color: var(--bittersweet);
    box-shadow: 0 8px 16px rgba(255, 60, 0, 0.653); /* Enhanced shadow on hover/focus */
    transform: scale(1.05); /* Slightly enlarge the button on hover */
  }
  
  .btn-secondary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Light overlay effect */
    transition: all 0.3s ease;
  }
  
  .btn-secondary:hover::after {
    width: 100%;
  }

footer {
    background: var(--black);
  }
  
  .footer-top {
    padding: 50px 0 50px;
  }
  
  .footer-brand {
    margin-bottom: 20px;
  }
  
  .footer-text {
    color: rgb(255, 255, 255);
    font-size: var(--fs-6);
    margin-bottom: 30px;
    width: 350px;
    padding-top: 40px;
  }
  
  .social-text {
    color: #ff4400;
    -top: 40px;
    font-weight: bolder;
    font-size: larger;
  }
  
  .social-list {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
  }
  
  .social-link {
    color: var(--white);
    font-size: var(--fs-4);
    margin-top: 10px;
    transition: color 0.3s, transform 0.3s;
  }
  
  .social-link:is(:hover, :focus) {
    color: var(--bittersweet);
    transform: scale(1.1); /* Slightly enlarges the icon */
  }
  
  .footer-link-list .footer-link {
    width: 120px;
  }
  
  .footer-link-list .office-address {
    width: 240px;
  }
  
  .footer-link-list .footer-contact {
    width: 240px;
  }
  
  .footer-link-list .link-title {
    margin-bottom: 15px;
    color: #ff4400;
    text-decoration: underline;
    transition: color 0.3s, text-decoration-color 0.3s;
    -webkit-transition: color 0.3s, text-decoration-color 0.3s;
    -moz-transition: color 0.3s, text-decoration-color 0.3s;
    -ms-transition: color 0.3s, text-decoration-color 0.3s;
    -o-transition: color 0.3s, text-decoration-color 0.3s;
  }
  
  .footer-link {
    color: rgb(255, 255, 255);
    font-size: var(--fs-6);
    margin-bottom: 10px;
    transition: color 0.3s, transform 0.3s;
  }
  
  .footer-link:is(:hover, :focus) {
    color: var(--bittersweet);
    transform: translateX(5px); /* Slightly shifts the link to the right */
  }
  
  .footer-bottom {
    padding: 20px 15px;
    border-top: 2px solid hsla(0, 0%, 100%, 0.2);
  }
  
  .office-address {
    color: #ffffff;
  }
  
  .footer-contact {
    color: #ffffff;
  }
  
  .copyright {
    color: var(--cool-gray);
    text-align: center;
    font-size: var(--fs-6);
  }
  
  .copyright a {
    display: inline-block;
    color: var(--cool-gray);
    transition: color 0.3s, transform 0.3s;
  }
  
  .copyright a:is(:hover, :focus) {
    color: var(--bittersweet);
    transform: translateY(-2px); /* Slightly moves the text upwards */
  }

  @media (min-width: 560px) {

    .footer-brand {
        margin-bottom: 40px;
      }
    
      .footer-link-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }
    }
    
    .footerlogo {
      width: 200px; /* Set the desired width */
      height: auto;
      padding-top: 40px;
      margin-bottom: 5px;
    }

    @media (min-width: 1024px) {

        .footer-top .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 50px;
          }
        
          .footer-brand,
          .footer-link-list:not(:last-child) {
            margin-bottom: 0;
          }
        
          .footer-link-box {
            grid-template-columns: repeat(4, 1fr);
            gap: 50px;
          }
        }