@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&family=Poppins:wght@400;500;600&display=swap");

/* Base Style */

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  width: 100%;
}

/* Header Styles */

h1,
h2,
h3,
h4,
h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #222;
}

h1 {
  font-size: 72px;
  font-weight: 700;
  margin: 20px 0;
}

h2 {
  font-size: 56px;
  font-weight: 600;
  margin: 16px 0;
}

h3 {
  font-size: 40px;
  font-weight: 500;
  margin: 14px 0;
}

h4 {
  font-size: 28px;
  font-weight: 500;
  margin: 12px 0;
}

h5 {
  font-size: 16px;
  font-weight: 500;
  margin: 12px 0;
}

/* Paragraph and Body Text */

p,
small,
.caption {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

p {
  font-size: 16px;
  color: #666;
  margin: 10px 0;
}

small,
.caption {
  font-size: 14px;
  color: #888;
}

/* Links */

a {
  font-size: 16px;
  font-weight: 500;
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  color: #004999;
  text-decoration: underline;
}

/* Highlights */

.highlight {
  font-weight: 700;
  color: #e67e22;
  background-color: #fbeee6;
  padding: 2px 5px;
  border-radius: 3px;
}

.emphasis {
  font-style: italic;
  color: #333;
}

/* General Layout */

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

/* Header Styling */

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 1000;
}

#header .logo {
  width: 200px;
  height: 50px;
  object-fit: cover;
  object-position: center;
}

/* Navbar Styles */

#navbar {
  display: flex;
  gap: 20px;
  padding: 0;
}

#navbar li {
  list-style: none;
  padding: 0 19px;
  position: relative;
}

#navbar li a {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
  color: #e67e22;
}

#navbar li a.active::after,
#navbar li a:hover::after {
  content: "";
  width: 20%;
  height: 4px;
  background: crimson;
  position: absolute;
  bottom: -8px;
  left: 20px;
}

/* Dropdown Menu */

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-content a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ffffff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-arrow::after {
  content: " ▼";
  font-size: 0.8rem;
  margin-left: 5px;
  color: #444;
}

/* Mobile Navbar Styles */

#mobile {
  display: none;
  align-items: center;
}

#close {
  display: none;
}

@media (max-width: 799px) {
  #navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -500px;
    height: 50vh;
    width: 400px;
    background-color: #f5f5f5;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    padding: 80px 0 0 10px;
    transition: 0.3s;
    border-radius: 12px;
    /* This adds a rounded edge */
  }
  #navbar li {
    margin-bottom: 25px;
  }
  #mobile {
    display: flex;
    align-items: center;
  }
  #mobile i {
    color: #1a1a1a;
    font-size: 24px;
    padding-left: 20px;
  }
  #navbar.active {
    right: 0px;
  }
  #close {
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #000000;
    font-size: 24px;
  }
  /* Mobile Dropdown */
  .dropdown-content {
    position: static;
    width: 100%;
    background-color: #fff;
    box-shadow: none;
  }
  .dropdown-content a {
    padding: 15px 10px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* Mobile Styles */

#mobile {
  display: none;
}

#navbar.active {
  right: 0;
}

@media (max-width: 799px) {
  #navbar {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 200px;
    background-color: rgb(180, 161, 161);
    transition: 0.3s;
  }
  #navbar li {
    margin-bottom: 25px;
  }
  #mobile {
    display: flex;
  }
  #close {
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 24px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1170px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footer {
  background-color: #24262b;
  padding: 70px 0;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e91e63;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  color: #bbbbbb;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

/* ################################### Media Queries ################################### */

/* Small Devices (Portrait phones, less than 576px) */

/* Medium Devices (Tablets, 576px to 768px) */

@media (max-width: 768px) {
  #header {
    padding: 15px 30px;
  }
  #hero h1 {
    font-size: 50px;
  }
  #hero h5 {
    font-size: 16px;
  }
  .card-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .boxes-container {
    gap: 15px;
  }
  #navbar li {
    padding: 0 10px;
  }
}

/* Large Devices (Small laptops, less than 992px) */

@media (max-width: 992px) {
  #hero h1 {
    font-size: 60px;
  }
  .card-container {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Extra Large Devices (Desktops, 1200px and up) */

@media (min-width: 1200px) {
  #hero h1 {
    font-size: 72px;
  }
  #hero h5 {
    font-size: 18px;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap");
:root {
  --gray-50: hsl(0, 0%, 98%);
  --gray-100: hsl(0, 0%, 95%);
  --gray-200: hsl(0, 0%, 92%);
  --gray-300: hsl(0, 0%, 88%);
  --gray-400: hsl(0, 0%, 85%);
  --gray-500: hsl(0, 0%, 75%);
  --gray-600: hsl(0, 0%, 65%);
  --gray-700: hsl(0, 0%, 45%);
  --gray-800: hsl(0, 0%, 25%);
  --gray-900: hsl(0, 0%, 15%);
  --gray-950: hsl(0, 0%, 8%);
  --white: hsl(0, 0%, 100%);
  --gold: hsl(45, 100%, 55%);
  --body-font: "Barlow Semi Condensed", sans-serif;
}

/* Reset */

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 0.9rem;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: scroll;
  min-height: 100vh;
  background: var(--gray-50);
  font-family: var(--body-font);
}

body::-webkit-scrollbar {
  display: none;
}

/** Testimonials Section - PERFECT RESPONSIVE **/

.testimonials-section {
  margin: 4rem auto;
  max-width: 1250px;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/** Base Card Styles */

.testimonial-card {
  position: relative;
  border-radius: 20px;
  padding: 2.8rem 2.2rem;
  width: 100%;
  max-width: 380px;
  height: 480px;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-300);
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gray-500);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--gray-400);
  background: var(--gray-200);
}

/** Quote Icon */

.quote-icon {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 32px;
  height: 32px;
  color: var(--gray-500);
  opacity: 0.6;
}

/** Card Variations */

.card-1 {
  background: var(--gray-100);
}

.card-2 {
  background: var(--gray-150, var(--gray-200));
}

.card-3 {
  background: var(--gray-100);
}

.card-4 {
  background: var(--gray-200);
}

.card-5 {
  background: var(--gray-150, var(--gray-200));
}

/** Author Header */

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 1.5rem;
  padding-right: 4rem;
}

.author-info {
  flex: 1;
}

.author-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--gray-700);
  font-weight: 500;
  letter-spacing: 0.4px;
}

/** Highlight */

.testimonial-highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--gray-300);
  padding: 0.6rem 1.2rem;
  border-radius: 18px;
  display: inline-block;
  border: 1px solid var(--gray-400);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin: 0.8rem 0;
}

/** Testimonial Text */

.testimonial-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--gray-800);
  font-weight: 500;
  flex-grow: 1;
  font-style: italic;
  position: relative;
}

.testimonial-text::before {
  content: "“";
  position: absolute;
  top: -1.2rem;
  left: 0;
  font-size: 4rem;
  color: var(--gray-500);
  font-family: serif;
  line-height: 1;
}

/** Meta Section */

.testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-300);
}

.rating {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.meta-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-900);
  padding: 0.5rem 1rem;
  background: var(--gray-300);
  border-radius: 16px;
  border: 1px solid var(--gray-400);
}

/** PERFECT RESPONSIVE BREAKPOINTS **/

/* DESKTOP LARGE: 3-4 columns */

@media screen and (min-width: 1201px) {
  .testimonials-section {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 2.5rem;
  }
}

/* DESKTOP MEDIUM: 3 columns */

@media screen and (min-width: 993px) and (max-width: 1200px) {
  .testimonials-section {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* TABLET LANDSCAPE: 2 columns */

@media screen and (min-width: 769px) and (max-width: 992px) {
  .testimonials-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    padding: 0 1.5rem;
  }
}

/* TABLET PORTRAIT: 2 columns stacked */

@media screen and (max-width: 768px) and (min-width: 481px) {
  .testimonials-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    margin: 3rem auto;
  }
  .testimonial-card {
    max-width: 450px;
    height: 440px;
  }
}

/* MOBILE LARGE */

@media screen and (max-width: 480px) {
  .testimonials-section {
    margin: 2rem 0.5rem;
    padding: 0 1rem;
    gap: 1.8rem;
  }
  .testimonial-card {
    padding: 2.4rem 2rem;
    height: 400px;
    max-width: 100%;
    border-radius: 16px;
  }
  .author-info h3 {
    font-size: 1rem;
  }
  .author-role {
    font-size: 0.78rem;
  }
  .testimonial-highlight {
    font-size: 1.1rem;
    padding: 0.55rem 1rem;
  }
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.65;
  }
  .quote-icon {
    top: 1.5rem;
    right: 1.5rem;
    width: 28px;
    height: 28px;
  }
  .testimonial-header {
    padding-right: 3.2rem;
    margin-top: 1.3rem;
  }
}

/* MOBILE SMALL */

@media screen and (max-width: 360px) {
  html {
    font-size: 0.85rem;
  }
  .testimonials-section {
    padding: 0 0.8rem;
    gap: 1.5rem;
    margin: 1.8rem 0;
  }
  .testimonial-card {
    padding: 2.1rem 1.6rem;
    height: 380px;
    border-radius: 14px;
  }
  .testimonial-text {
    font-size: 0.96rem;
  }
  .testimonial-highlight {
    font-size: 1.05rem;
    padding: 0.5rem 0.95rem;
  }
}

/* TOUCH DEVICES */

@media (hover: none) and (pointer: coarse) {
  .testimonial-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  .testimonial-card:active {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
}

/* LANDSCAPE MOBILE */

@media screen and (max-height: 500px) and (orientation: landscape) {
  .testimonials-section {
    gap: 1.2rem;
    padding: 1rem;
    margin: 1.5rem auto;
  }
  .testimonial-card {
    height: 340px;
    padding: 2rem 1.8rem;
  }
}
