/*=============== GOOGLE FONTS & CSS VARIABLES ===============*/
:root {
  /* Colors */
  --primary-color: #FDB721;
  --primary-color-alt: #FFD54F;
  --secondary-color: #FC9834;
  --dark-color: #1a1a1a;
  --text-color: #555;
  --text-color-light: #777;
  --body-color: #fff;
  --container-color: #fff;
  --border-color: #eee;

  /* Font & Typography */
  --body-font: 'Poppins', sans-serif;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  
  /* Font Weight */
  --font-bold: 700;
  --font-semi-bold: 600;
  --font-medium: 500;
  
  /* Margins & Paddings */
  --mb-0-5: 0.5rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;

  /* z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body-font); font-size: var(--normal-font-size); background-color: var(--body-color); color: var(--text-color); }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--dark-color); font-weight: var(--font-semi-bold); }

/* Reusable CSS Classes */
.section { padding: 3rem 0 2rem; }
.container { max-width: 1120px; margin-left: auto; margin-right: auto; padding: 0 1.5rem; }
.section__title, .section__subtitle { text-align: center; }
.section__title { font-size: var(--h2-font-size); margin-bottom: var(--mb-2); }
.section__subtitle { display: block; font-size: var(--small-font-size); font-weight: var(--font-medium); color: var(--primary-color); margin-bottom: var(--mb-0-5); }
.text-center { text-align: center !important; }

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-weight: var(--font-medium);
  transition: background-color 0.3s;
}
.button:hover { background-color: var(--primary-color-alt); }
.button--ghost { background-color: transparent; border: 2px solid var(--dark-color); }
.button--ghost:hover { background-color: rgba(0, 0, 0, 0.05); }

/* ==================== HEADER & NAV ==================== */
.header { width: 100%; background-color: var(--body-color); position: fixed; top: 0; left: 0; z-index: var(--z-fixed); transition: box-shadow 0.3s; }
.nav { height: 6rem; display: flex; justify-content: space-between; align-items: center; }
.nav__logo { font-size: 1.5rem; font-weight: var(--font-bold); }
.nav__menu { }
.nav__list { display: flex; gap: 3rem; }
.nav__link { font-weight: var(--font-medium); transition: color 0.3s; }
.nav__link:hover, .nav__link.active-link { color: var(--dark-color); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__toggle { font-size: 1.5rem; cursor: pointer; display: none; }
.logo{max-width: 200px;}
/* Add box-shadow to header on scroll */
.scroll-header { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* ==================== HERO ==================== */
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-top: 2rem; }
.hero__img { border-radius: 12px;}
.hero__content { background-color: var(--secondary-color); padding: 3rem 2.5rem; border-radius: 12px; }
.hero__title { font-size: var(--h1-font-size); line-height: 1.2; margin-bottom: var(--mb-1); }
.hero__description { margin-bottom: var(--mb-2); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: var(--mb-2); }
.hero__support { display: flex; align-items: center; gap: 0.75rem; font-weight: var(--font-medium); color: var(--dark-color); }

/* ==================== ABOUT & QUALITY & PARTNER ==================== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
.about__content .section__title, .about__content .section__subtitle { text-align: left; }
.about__img { border-radius: 12px; width: 100%; max-height: 55vh; object-fit: cover; }
.about__content .button { margin-top: var(--mb-1-5); }
.overlay-container { position: relative; }
.overlay-box { position: absolute; bottom: 1.5rem; left: 1.5rem; background-color: var(--body-color); padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); text-align: center; }
.overlay-box h3 { font-size: 2rem; }
.overlay-box p { font-size: var(--small-font-size); font-weight: var(--font-medium); }
/* ==================== CHOOSE US ==================== */
.choose-us__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.choose-us__card { text-align: center; }
.choose-us__icon-wrapper { width: 80px; height: 80px; background-color: #fff7e1; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--mb-1); }
.choose-us__icon-wrapper { font-size: 2.5rem; color: var(--primary-color); }
.choose-us__card-title { font-size: var(--h3-font-size); margin-bottom: var(--mb-0-5); }

/* ==================== OUR SERVICES ==================== */
.our-services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.our-services__card { background-color: #FC9834; padding: 2rem; border-radius: 12px; }
.our-services__percentage { font-size: 1.5rem; font-weight: var(--font-bold); margin-bottom: 1rem; }
.our-services__card img{max-width: 250px;}

/* ==================== FOOTER ==================== */
.footer { background-color: #FFFBF0; padding-top: 6rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer__logo { display: block; font-size: 1.5rem; font-weight: var(--font-bold); margin-bottom: var(--mb-1); }
.footer__description, .footer p { margin-bottom: var(--mb-1); }
.footer__title { font-size: var(--h3-font-size); margin-bottom: var(--mb-1-5); }
.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__link:hover { text-decoration: underline; }
.footer__bottom { padding: 2rem 0; margin-top: 4rem; border-top: 1px solid var(--border-color);}
.scrollup { position: fixed; right: 1.5rem; bottom: -30%; background-color: var(--primary-color); padding: 0.5rem; border-radius: 4px; display: inline-flex; transition: 0.4s; }
.scrollup:hover { background-color: var(--primary-color-alt); }
.show-scroll { bottom: 3rem; }
.footer__copyright{text-align: center; padding: 0 20px;}
/* ==================== RESPONSIVENESS ==================== */
/* For large devices (laptops) */
.contact-item {
  display: flex;
  align-items: center; /* Vertically aligns the icon with the text */
  gap: 0.75rem;  
  font-size: var(--normal-font-size);
}
.contact-item .material-symbols-outlined {
  color: var(--primary-color); /* Use your theme's primary color */
  font-size: 1.5rem; /* Adjust icon size if needed */
  transition: transform 0.3s;
}
.contact-item{margin-top: 12px;}
.contact-item a {
  color: var(--text-color);
  transition: color 0.3s;
}
@media screen and (max-width: 1120px) {
  .container { padding: 0 1.5rem; }
}

/* For medium devices (tablets) */
@media screen and (max-width: 992px) {
  .nav__menu { position: fixed; top: -100%; left: 0; width: 100%; background-color: var(--body-color); padding: 4rem 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: 0.3s; }
  .show-menu { top: 6rem; }
  .nav__list { flex-direction: column; text-align: center; gap: 2rem; }
  .nav__toggle { display: inline-flex; }
}
@media screen and (max-width: 767px){
  .hero__grid, .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__grid.container { grid-template-columns: 1fr; } /* Fix for nested grid */
  .hero__image-container { order: -1; } /* Image on top */
  .about__content .section__title, .about__content .section__subtitle { text-align: center; }
  
  .choose-us__grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 350px; margin: 3rem auto 0; }
  .our-services__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
    .hero__img{
    max-height: vh;
  }
}
/* For small devices (phones) */
@media screen and (max-width: 767px) {
  body { font-size: var(--small-font-size); }
  .section { padding: 4rem 0 1rem; }
  .container { padding: 0 1rem; }
  .nav { height: 5rem; }
  .show-menu { top: 5rem; }
  
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
  }
  
  .hero__content { padding: 2rem 1.5rem; }
  .overlay-box { padding: 1rem; }
  .header-button{
    display: none;
  }
}