/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2024 Aiman
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --safety-orange: hsl(25, 100%, 50%);
  --lavender-gray: hsl(230, 19%, 81%);
  --persian-rose: hsl(328, 100%, 59%);
  --red-crayola: hsl(341, 100%, 49%);
  --eerie-black: hsl(240, 6%, 10%);
  --light-gray: hsl(0, 0%, 80%);
  --cultured-2: hsl(210, 60%, 98%);
  --platinum: hsl(0, 0%, 90%);
  --gray-web: hsl(220, 5%, 49%);
  --cultured: hsl(0, 0%, 93%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_5: hsla(0, 0%, 0%, 0.05);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 14%, 98%);
  --black: hsl(0, 0%, 0%);

  /**
   * gradient color
   */

  --gradient: linear-gradient(to left top, var(--persian-rose), var(--safety-orange));

  /**
   * typography
   */

  --ff-roboto: 'Roboto', sans-serif;
  --ff-league-spartan: 'League Spartan', sans-serif;

  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.1rem;
  --fs-4: 1.7rem;
  --fs-5: 1.4rem;
  --fs-6: 1.3rem;

  --fw-700: 700;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow-1: 0 6px 24px var(--black_5);
  --shadow-2: 0 2px 28px var(--black_10);

  /**
   * border radius
   */

  --radius-2: 2px;
  --radius-5: 5px;
  --radius-8: 8px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
time,
label,
input,
button,
textarea,
ion-icon { display: block; }

img { height: auto; }

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-1);
  color: var(--gray-web);
  font-size: 1.6rem;
  line-height: 1.8;
}

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }

:focus-visible { outline-offset: 4px; }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.btn {
  max-width: max-content;
  color: var(--white-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  padding: 10px 30px;
  border-radius: var(--radius-5);
  transition: var(--transition-1);
}

.btn-primary {
  background-image: var(--gradient);
  background-size: 1000%;
}

.btn-primary:is(:hover, :focus) { background-position: bottom right; }

.btn-secondary {
  background-color: var(--white-1);
  color: var(--eerie-black);
}

.btn-secondary:is(:hover, :focus) {
  background-color: var(--eerie-black);
  color: var(--white-1);
}

.section { padding-block: var(--section-padding); }

.h1,
.h2,
.h3 {
  color: var(--eerie-black);
  font-family: var(--ff-league-spartan);
  line-height: 1.2;
}

.h1 { font-size: var(--fs-1); }

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.w-100 { width: 100%; }

.section-title,
.section-text { text-align: center; }

.section-text { font-size: var(--fs-6); }

.grid-list {
  display: grid;
  gap: 30px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

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





/*-----------------------------------*\
  #HEADER 
\*-----------------------------------*/

/* Logo in Header */
.header .logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between logo image and text */
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.header-logo {
  height: 50px; /* Adjust logo height */
  width: auto; /* Maintain aspect ratio */
  border-radius: 8px; /* Optional: Rounded corners for a polished look */
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-1);
  padding-block: 15px;
  border-block-end: 1px solid var(--cultured);
  z-index: 4;
  transition: var(--transition-1);
}

/* Shadow effect when the header is active */
.header.active {
  filter: drop-shadow(var(--shadow-2));
}

/* Flex display for container, ensure no wrap */
.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px; /* Adjust padding as needed */
  flex-wrap: nowrap; /* Prevent wrapping of items */
  max-width: 100%;
}

/* Logo styling, reducing font size to fit in one line */
.logo {
  font-family: var(--ff-league-spartan);
  color: var(--black);
  font-size: 3.5rem; /* Reduced font size */
  font-weight: var(--fw-700);
  line-height: 1;
  margin-right: auto; /* Aligns logo to the far left */
  white-space: nowrap; /* Prevents text from wrapping */
}

/* Flex settings for the navigation bar */
.navbar {
  display: flex;
  justify-content: flex-end; /* Align nav links to the right */
  align-items: center; /* Align items in the center vertically */
}

.navbar-list {
  display: flex;
  gap: 25px; /* Space between each link */
  flex-wrap: nowrap; /* Prevents nav items from wrapping */
}

/* Individual navbar link styling */
.navbar-link {
  color: var(--eerie-black);
  font-family: var(--ff-league-spartan);
  font-size: var(--fs-4);
  padding: 8px 15px;
  transition: var(--transition-1);
  white-space: nowrap; /* Prevents link text from wrapping */
}

/* Hover effect for navbar links */
.navbar-link:is(:hover, :focus) {
  color: var(--red-crayola);
}

/* Styling the Get Started button */
.header .btn {
  padding: 10px 20px;
  background: linear-gradient(45deg, #FF416C, #171615);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--ff-league-spartan);
  cursor: pointer;
  transition: var(--transition-1);
  white-space: nowrap; /* Prevent button text from wrapping */
}

.header .btn:hover {
  background: linear-gradient(45deg, #171615, #FF416C); /* Hover effect */
}

/* Dropdown menu container */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white-1);
  box-shadow: var(--shadow-1);
  z-index: 5;
  padding: 10px 0;
  min-width: 200px;
}

/* Display dropdown menu on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown items styling */
.dropdown-item {
  position: relative;
  
}

.dropdown-item a {
  color: var(--eerie-black);
  text-decoration: none;
  padding: 8px 16px;
  display: block;
}

/* Dropdown submenu */
.dropdown-submenu {
  display: none; /* Hide submenu by default */
  position: absolute; 
  left: 100%; 
  top: 0;
}

.dropdown-item:hover .dropdown-submenu {
  display: block; /* Show submenu on hover */
}

/* Hover effect for dropdown links */
.dropdown-item a:hover,
.dropdown-submenu a:hover {
  background-color: var(--cultured);
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 8px;
}

/* Dropdown content items */
.dropdown-content li {
  list-style-type: none;
}

.dropdown-content li a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Hover effect for dropdown items */
.dropdown-content li a:hover {
  background-color: #f1f1f1;
}

/* Show dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Navbar link hover effect */
.navbar-link:hover {
  color: #0056b3;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  
  
  
  
  padding-block-start: calc(var(--section-padding) + 50px);
  text-align: center;
  
  /* Background Image */
  background-image: url('../images/hero_image.jpeg'); /* Go one level up */



  background-size: cover; /* Ensure the image covers the entire section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  background-attachment: fixed; /* Parallax scrolling effect */
  
  /* Height for full section coverage */
  height: 100vh; /* Full viewport height */

  /* Animation */
  animation: backgroundScroll 20s linear infinite; /* Add scrolling animation */

  position: relative;
}

/* Background scrolling animation */
@keyframes backgroundScroll {
  0% {
    background-position: center top;
  }
  100% {
    background-position: center bottom;
  }
}

.hero-content {
  margin-block-end: 30px;
  position: relative;
  z-index: 2; /* Ensure content is above the background */
  color: rgb(255, 255, 255); /* Make text visible against background */
}

.hero-subtitle {
  
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  color: rgb(255, 255, 255)
}

.hero-title {
  margin-block: 12px 8px;
  color: rgb(255, 255, 255)
}

.hero-text {
  font-size: var(--fs-5);
}

.hero .btn {
  margin-inline: auto;
  margin-block-start: 20px;
  background: linear-gradient(45deg, #ff003c, #392622);
}





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background-color: #dfe3e6;
}

.service .section-text {
  margin-block: 5px 35px;
}

/* Initially hide the cards and apply the animation styles */
.service-card {
  background-color: var(--white-1);
  padding: 20px 15px;
  border: 1px solid var(--platinum);
  border-radius: var(--radius-5);
  text-align: center;
  box-shadow: var(--shadow-1);
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

/* When the card becomes visible in the viewport */
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:is(:hover, :focus-within) {
  transform: translateY(-10px);
}

.service-card .card-icon {
  color: var(--white-1);
  font-size: 25px;
  max-width: max-content;
  margin-inline: auto;
  padding: 18px;
  border-radius: 50%;
}

.service-card .card-title {
  margin-block: 20px 8px;
}

.service-card .card-text {
  font-size: var(--fs-6);
}
/* Rolling effect */
.service-card {
  opacity: 0;
  transform: rotate(-10deg) translateY(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card.visible {
  opacity: 1;
  transform: rotate(0deg) translateY(0);
}


/*-----------------------------------*\
  #trusted brands
\*-----------------------------------*/
#brands {
  position: relative;
  background-color: black;
  padding: 50px 20px; /* Add spacing around the section */
}


.section-title {
  text-align: center;
  color: var(--your-text-color); /* Replace with your desired text color */
  margin-bottom: 20px;
}

.brands-content {
  display: flex;
  flex-direction: column; /* Stack rows vertically */
  gap: 20px; /* Add spacing between rows */
}

.brand-content-row {
  display: flex;
  justify-content: space-around; /* Distribute logos evenly */
  align-items: center;
  gap: 20px; /* Add spacing between logos */
}

.brand-content-row img {
  max-width: 150px; /* Set a maximum width for logos */
  height: auto;
}



/*-----------------------------------*\
  #industries we serve
\*-----------------------------------*/
.project{background-color:#f7f6f3 ;}  

.project .section-text { margin-block: 5px 35px; }

.project-card {
  position: relative;
  border-radius: var(--radius-8);
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  opacity: 0.5;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within)::after { opacity: 0.8; }

.project-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within) .card-content { transform: translateY(-20px); }

.project-card .card-subtitle {
  color: var(--lavender-gray);
  font-size: var(--fs-6);
  line-height: 1;
}

.project-card .card-title {
  color: var(--white-1);
  margin-block: 12px 15px;
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { background-color: #fff7e6; }

.about-banner {
  position: relative;
  border-radius: var(--radius-5);
  overflow: hidden;
  margin-block-end: 25px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white-1);
  color: var(--red-crayola);
  font-size: 32px;
  padding: 16px;
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 1px var(--white-1); }
  100% { box-shadow: 0 0 0 25px transparent; }
}

.about :is(.section-title, .section-text) { text-align: left; }

.about .section-title { margin-block-end: 5px; }

.about .section-text:not(:last-child) { margin-block-end: 18px; }

.about .h3 { margin-block-end: 8px; }

.about-list { margin-block: 15px 18px; }

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.about-item ion-icon {
  color: var(--red-crayola);
  flex-shrink: 0;
  margin-block-start: 2px;
}

.about-item:not(:last-child) { margin-block-end: 12px; }





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--gradient);
  opacity: 0.95;
  z-index: -1;
}

.cta-subtitle,
.cta .section-title { color: var(--white-1); }

.cta-subtitle {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-align: center;
}

.cta .section-title { margin-block: 12px 18px; }

.cta .btn { margin-inline: auto; }





/*-----------------------------------*\
  #projects
\*-----------------------------------*/

.blog .section-text { margin-block: 5px 35px; }

.blog-card { background-color: var(--white-2); }

.blog-card .card-banner { overflow: hidden; }

.blog-card .card-banner img { transition: var(--transition-2); }

.blog-card:is(:hover, :focus-within) .card-banner img { transform: scale(1.05); }

.blog-card .card-content { padding: 15px; }

.blog-card .time {
  color: var(--red-crayola);
  font-size: var(--fs-6);
  line-height: 1;
  margin-block-end: 10px;
}

.blog-card .card-title { transition: var(--transition-1); }

.blog-card .card-title:is(:hover, :focus) { color: var(--red-crayola); }


/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/
.star-rating {
  font-size: 1.2rem;
  color: #f5c518 !important; /* gold/yellow stars */
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.testimonials {
  background-color: #f5f7fa;
  padding: 60px 0;
}

.testimonials .section-title {
  text-align: center;
  margin-bottom: 20px;
}

.testimonials .section-text {
  text-align: center;
  margin-bottom: 40px;
  font-size: var(--fs-5);
  color: var(--gray-dark);
}

.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider-wrapper {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  animation: slideLoop 20s infinite;
}

.testimonial-card {
  background-color: var(--white-1);
  border: 1px solid var(--platinum);
  border-radius: var(--radius-5);
  padding: 20px;
  text-align: center;
  min-width: 300px;
  max-width: 300px;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease-in-out;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

/* Removed .client-img styles as images are removed */

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.client-name {
  font-weight: bold;
  color: var(--gray-dark);
}

/* Updated sliding keyframes for looping back */
@keyframes slideLoop {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-300px); }
  50%, 70% { transform: translateX(-600px); }
  75%, 95% { transform: translateX(-900px); }
  100% { transform: translateX(0); }
}



/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact { background-color: var(--white-2); }

.contact .section-text { margin-block: 5px 35px; }

.contact-form {
  background-color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-2);
  margin-block-end: 30px;
  box-shadow: var(--shadow-1);
}

.input-field {
  background-color: var(--white-2);
  color: var(--eerie-black);
  font-size: var(--fs-5);
  padding: 15px;
  border-radius: var(--radius-2);
  outline: 1px solid transparent;
  outline-offset: 0;
  margin-block-end: 15px;
}

.input-field::-webkit-inner-spin-button { display: none; }

.input-field:focus { outline-color: var(--red-crayola); }

.input-field::placeholder { transition: var(--transition-1); }

.input-field:focus::placeholder { opacity: 0; }

textarea.input-field {
  resize: vertical;
  min-height: 80px;
  height: 100px;
  max-height: 200px;
  overscroll-behavior: contain;
}

.checkbox {
  width: max-content;
  margin-block-start: 5px;
  accent-color: var(--red-crayola);
}

.label-link {
  display: inline-block;
  color: var(--red-crayola);
}

.label-link:is(:hover, :focus) { text-decoration: underline; }

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block-end: 15px;
}

.checkbox-wrapper .label { font-size: var(--fs-6); }

:root {
  --primary-color: #D32F2F;  /* Elegant Red */
  --light-bg: #F8F9FA;
  --dark-text: #333;
  --shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease-in-out;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 30px;
  justify-content: center;
  padding: 0;
}

.contact-item {
  list-style: none;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: var(--light-bg);
  padding: 30px;  /* Increased padding for better spacing */
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  border-left: 6px solid var(--primary-color);
  width: 100%;
  min-width: 350px;  
  max-width: 500px;  /* Increased max width */
  min-height: 180px; /* Ensures proper spacing for longer content */
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
  background: var(--primary-color);
  color: white;
  font-size: 30px; /* Slightly larger icons */
  padding: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-card:hover .card-icon {
  background: #B71C1C;
}

.card-content {
  flex: 1;
}

.card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.card-info {
  font-size: 17px;
  color: #555;
}

.card-link,
.card-address {
  font-size: 17px;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  word-break: break-word; /* Prevents overflow for long texts */
}

.card-link:hover {
  color: #B71C1C;
  text-decoration: underline;
}

/* Center the 4th card */
.contact-item:nth-child(4) {
  grid-column: 2 / span 1; /* Centered in the second column */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-list {
    grid-template-columns: repeat(2, 1fr); /* Two cards per row for medium screens */
  }

  .contact-item:nth-child(4) {
    grid-column: auto; /* Adjusts to normal flow */
  }
}

@media (max-width: 768px) {
  .contact-list {
    grid-template-columns: 1fr; /* Stacks cards in one column for small screens */
  }

  .contact-card {
    max-width: 100%;
  }
}




/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--white-2);
  padding-block: 20px;
}

.copyright {
  font-size: var(--fs-6);
  text-align: center;
}

.copyright-link {
  color: var(--red-crayola);
  font-weight: var(--fw-500);
  display: inline-block;
}





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--eerie-black);
  color: var(--white-1);
  padding: 12px;
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.back-top-btn:is(:hover, :focus) { opacity: 0.9; }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }



  /**
   * BLOG
   */

  .blog .grid-list { grid-template-columns: 1fr; }

  .blog-card.grid {
    display: grid;
    grid-template-columns: 0.47fr 1fr;
    align-items: center;
    gap: 10px;
  }



  /**
   * CONTACT
   */

  .input-wrapper {
    display: flex;
    gap: 15px;
  }

  .contact-item { min-width: calc(50% - 18px); }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.5rem;
    --fs-2: 3.7rem;
    --fs-3: 2.3rem;
    --fs-4: 1.8rem;
    --fs-5: 1.5rem;
    --fs-6: 1.4rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .section-text {
    max-width: 65ch;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .hero-text {
    max-width: 60ch;
    margin-inline: auto;
  }



  /**
   * ABOUT
   */

  .about-banner { max-width: 550px; }

  .about .section-text {
    max-width: unset;
    margin-inline: 0;
  }



  /**
   * CONTACT
   */

  .contact-form { padding: 30px; }

  .contact-item { min-width: calc(50% - 12.5px); }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5rem;
    --fs-2: 4rem;
    --fs-3: 2.5rem;

    /**
     * spacing
     */

    --section-padding: 100px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }

  .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HEADER
   */

  .nav-toggle-btn { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-list {
    all: unset;
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar-link { position: relative; }

  .navbar-link:is(:hover, :focus) { color: var(--eerie-black); }

  .navbar-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-2);
  }

  .navbar-link:is(:hover, :focus)::after { transform: scaleX(1); }

  .header .btn { margin-block-start: 0; }



  /**
   * HERO
   */

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    text-align: left;
  }

  .hero-content { margin-block-end: 0; }

  .hero-subtitle {
    position: relative;
    padding-inline-start: 15px;
  }

  .hero-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--red-crayola);
  }

  .hero-text,
  .hero .btn { margin-inline: 0; }



  /**
   * SERVICE
   */

  .service-card { padding: 20px; }

  .service-card .h3 { --fs-3: 2.3rem; }



  /**
   * PROJECT
   */

  .project-card .card-subtitle { --fs-6: 1.5rem; }



  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner { margin-block-end: 0; }



  /**
   * BLOG
   */

  .blog .grid-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .blog .grid-list > li:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  .blog-card:not(.grid) { height: 100%; }

  .blog-card .card-content { padding-block: 10px; }

  .blog-card:not(.grid) .card-content { padding: 25px; }

  .blog-card.grid .h3 { --fs-3: 2rem; }

  .blog-card .time { --fs-6: 1.6rem; }



  /**
   * CONTACT
   */

  .checkbox-wrapper { margin-block: 20px; }

  .contact-item { min-width: calc(33.33% - 16.66px); }

  .contact-card { padding: 30px; }

  .contact-card .card-icon { font-size: 32px; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 6.8rem;
    --fs-2: 4.5rem;
    --fs-4: 1.9rem;
    --fs-5: 1.6rem;
    --fs-6: 1.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1140px; }

  .btn { --fs-6: 1.5rem; }



  /**
   * SERVICE
   */

  .service-card { padding: 30px; }

  .service-card .h3 { --fs-3: 2.5rem; }



  /**
   * PROJECT
   */

  .project-card .card-content { padding: 30px; }

  .project-card .card-subtitle { --fs-6: 1.6rem; }



  /**
   * ABOUT
   */

  .about .container { gap: 60px; }

  .about-item { gap: 7px; }

  .about-item ion-icon { font-size: 20px; }



  /**
   * CTA
   */

  .cta .section-title { margin-block: 15px 24px; }



  /**
   * BLOG
   */

  .blog-card .time { --fs-6: 1.6rem; }

  .blog-card.grid .h3 { --fs-3: 2.4rem; }



  /**
   * CONTACT
   */

  .contact-form { padding: 50px; }

  .contact-card { gap: 20px; }

  .contact-card .card-icon { padding: 15px; }

}


  /* Basic styles for the header and navbar */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #ffffff; /* Background color for header */
}

.navbar {
  display: flex; /* Default to horizontal */
}

.navbar-list {
  display: flex; /* Default to horizontal */
  gap: 20px; /* Space between navbar items */
  list-style-type: none; /* Remove bullets */
  margin: 0; /* Reset margin for list */
  padding: 0; /* Reset padding for list */
}

/* Hamburger Menu Styles */
.navbar-toggle {
  display: none; /* Hide by default */
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: #333; /* Color for visibility */
  margin: 3px 0; /* Space between bars */
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 600px) {
  .navbar {
    display: none; /* Hide navbar by default on small devices */
    flex-direction: column; /* Stack items vertically */
    position: absolute; /* Position as dropdown */
    background-color: #ffffff; /* Match header background */
    top: 60px; /* Position below header */
    right: 0; /* Align dropdown to the right */
    width: 100%; /* Full width */
    z-index: 1; /* Ensure it appears above other content */
    padding: 10px 0; /* Optional padding for dropdown */
  }

  .navbar.active {
    display: flex; /* Show navbar when active */
  }

  .navbar-toggle {
    display: flex; /* Show hamburger menu on mobile */
  }

  .navbar-list {
    flex-direction: column; /* Stack items vertically in dropdown */
    gap: 10px; /* Space between navbar items */
    padding: 0; /* Remove additional padding */
    margin: 0; /* Reset margin */
  }

  .navbar-link {
    padding: 10px 15px; /* Add padding for clickable area */
    color: #000000; /* Link color for visibility */
    text-decoration: none; /* Remove underline from links */
    display: block; /* Full-width clickable area */
  }

  .navbar-link:hover {
    background-color: #f0f0f0; /* Change background on hover */
  }
}
/* Base style for dropdown links */
.dropdown-item a,
.dropdown-submenu a {
  color: black; /* Set initial color */
}

/* Hover effect for dropdown and submenu links */
.dropdown-item:hover a,
.dropdown-submenu a:hover {
  color: rgb(0, 0, 0); /* Change color on hover */
  background-color: var(--cultured); /* Background color as specified */
}

/* Dropdown submenu */
.dropdown-submenu {
  display: none; /* Hide submenu by default */
  position: absolute; 
  left: 100%; 
  top: 0;
}

.dropdown-item:hover .dropdown-submenu {
  display: block; /* Show submenu on hover */
}






.merchant-photo {
  width: 70px; /* Slightly increased size for better visibility */
  height: 70px;
  border-radius: 50%; /* Circular shape */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px; /* Adds slight spacing */
  background: linear-gradient(135deg, #B71C1C, #c33b3b); /* Stylish gradient border */
  box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.15); /* Soft, elegant shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

.merchant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures proper cropping */
  border-radius: 50%; /* Keeps round shape */
  border: 3px solid white; /* Elegant white border around image */
  transition: filter 0.3s ease; /* Smooth hover effect */
}

.merchant-photo:hover {
  transform: scale(1.1); /* Subtle zoom effect */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.merchant-photo:hover img {
  filter: brightness(1.1); /* Slight brightening on hover */
}
