/* ===( Build By : CODE AASHU )=== */
:root {
  --primaryText: #1A1A1A;
  --background: #F2F1EB;
  --surface: #E5E3DC;
  --borderLight: #D4D2CA;
  --mutedText: #6F6F6A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "text", sans-serif;
  font-weight: 500;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  overflow-y: auto;
}

::-webkit-scrollbar {
  display: none;
}

@font-face {
  font-family: "heading";
  src: url("CabinetGrotesk.ttf") format("truetype");
}

@font-face {
  font-family: "text";
  src: url("Nunito.ttf") format("truetype");
}

body {
  font-size: 1.6rem;
  background: var(--background);
  color: var(--primaryText);
  overflow-x: hidden;
  overflow-y: auto;
}

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

/* Headings */

.heading_1, .heading_2, .heading_3 {
  font-family: "heading";
  font-weight: bold;
  color: var(--primaryText);
}

.heading_1 {
  font-size: 12rem;
}

.heading_2 {
  font-size: 7rem;
}

.heading_3 {
  font-size: 4.8rem;
}

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

.section_heading p {
  width: 38ch;
  color: var(--mutedText);
}

.section_heading .btn_2 {
  margin-top: 2rem;
}

/* Buttons */

.btn_1 {
  padding: 1.2rem 2.4rem;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--primaryText);
  color: var(--background);
  border: 1px solid var(--primaryText);
  transition: background-color 0.2s ease-in-out;
  text-align: center;
  display: inline-block;
}

.btn_1:hover {
    background: #000;
}

.btn_secondary {
    background: #fff;
    border: 1px solid var(--primaryText);
    color: var(--primaryText);
}

.btn_secondary:hover {
    background: var(--primaryText);
    color: var(--background);
}

.btn_dark {
    background: var(--primaryText);
    color: var(--background);
    border: 1px solid var(--primaryText);
}

.btn_dark:hover {
    background: #000;
}

.btn_hero {
    background: #fff;
    color: var(--primaryText);
    border: 1px solid #fff;
}

.btn_2 {
  color: var(--primaryText);
  font-family: "heading", sans-serif;
  font-size: 2.4rem;
  display: flex;
  width: fit-content;
}

.btn_2::after {
  content: "";
  background-image: url("images/arrow-black.png"); /* Changed to black arrow */
  background-size: contain;
  background-repeat: no-repeat;
  background-position-y: bottom;
  width: 4rem;
  height: 3rem;
  display: inline-block;
  margin-left: 1rem;
  transition: 0.3s ease;
}

.btn_2:hover::after {
  transform: rotate(-25deg) scale(1.1);
}

/* Page */
main {
  width: 100vw;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

nav {
  background: var(--background);
  border-bottom: 1px solid var(--borderLight);
}

nav .container-xl {
  display: flex;
  align-items: center;
  color: var(--mutedText);
  padding: 2rem 0;
  gap: 3rem;
  position: relative;
}

.logo {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 8rem;
  width: auto;
  object-fit: contain;
  display: block;
}

nav .btn_1 {
  margin-left: auto;
}

.menu{
  position: relative;
  z-index: 20;
  cursor: pointer;
}

.menu img {
  width: 2.8rem;
  object-fit: contain;
  opacity: 0.8;
}

.menu_container{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--surface);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: 1s ease;
  overflow: hidden;
}

.menu_container a:not(.btn_1){
  font-size: 5rem;
  font-weight: bold;
  color: var(--primaryText);
  font-family: "heading", sans-serif;
  display: inline-block !important;
}

.menu_container a:not(.btn_1):hover{
  color: var(--mutedText);
}

.menu_container .btn_1{
  margin-left: 0;
  display: inline-block !important;
}

main p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--mutedText);
}

.intro {
  background-image: url('images/1.jpg');
  background-size: cover;
  background-position: center;
  min-height: auto;
  width: 100vw;
  position: relative;
  padding: 10rem 0;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none; /* Added */
  z-index: 1; /* Lowered from content's z-index 2 */
}

.intro .container-xl { /* Add this new rule */
  position: relative;
  z-index: 10;
}

.intro .heading_1, .intro .heading_2, .intro p {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}


.intro .heading_1 {
  position: relative;
  margin-top: 0;
  z-index: 2;
}

.intro p {
  position: relative;
  margin-top: 4rem;
  z-index: 2;
  width: 38ch;
  max-width: 100%;
}

.projects {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
}

.projects .project {
  height: 18rem;
  width: 15rem;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.projects .project img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.projects .project:hover img {
  transform: rotate(-5deg) scale(1.5);
}

.intro .btn_2 {
  position: relative;
  z-index: 2;
  margin-block: 6rem;
  color: #fff;
}

.intro .btn_2::after {
    background-image: url("circle-arrow.png");
}

.intro .container-xl { /* Added new rule */
  position: relative;
  z-index: 10;
  pointer-events: auto; /* Allow clicks */
}

section {
  background: var(--background);
  padding-block: 10rem;
  padding-left: 4%;
  padding-right: 4%;
}

@media screen and (min-width: 576px) {
    section {
        padding-left: 8%;
        padding-right: 8%;
    }
}
@media screen and (min-width: 992px) {
    section {
        padding-left: 12%;
        padding-right: 12%;
    }
}

.about {
    margin-top: 0;
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.about .section_heading {
    margin-bottom: 6rem;
}

.about .section_heading .heading_2 {
  text-align: left;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    gap: 2.4rem; /* Corresponds to gap-6 */
    grid-template-columns: 1fr;
}

@media screen and (min-width: 640px) { /* sm */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (min-width: 1024px) { /* lg */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (min-width: 1280px) { /* xl */
    .features-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Feature Card Style */
.feature-card {
    background-color: var(--surface);
    border: 1px solid var(--borderLight);
    border-radius: 1.5rem; /* rounded-2xl */
    padding: 1.6rem; /* p-4 */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card .card-number {
    font-size: 1.8rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: var(--primaryText);
}

.feature-card .card-title {
    font-family: "heading", sans-serif;
    font-size: 2.4rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    letter-spacing: -0.025em; /* tracking-tight */
    color: var(--primaryText);
    margin-top: auto;
    padding-top: 4rem;
    margin-bottom: 1rem;
}

.feature-card .card-description {
    font-size: 1.4rem; /* text-sm */
    line-height: 1.6; /* leading-relaxed */
    color: var(--mutedText);
}

@media screen and (min-width: 640px) { /* sm */
    .feature-card {
        padding: 2.4rem; /* sm:p-6 */
    }
    .feature-card .card-number {
        font-size: 2rem; /* sm:text-xl */
    }
    .feature-card .card-title {
        font-size: 3rem; /* sm:text-2xl */
    }
}

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

.about .card_header .icon img {
  height: 4rem;
  object-fit: contain;
  filter: invert(1);
}

section.rating {
  border-top: 1px solid var(--borderLight);
}

.stats-bar {
    border-radius: 1.5rem;
    border: 1px solid var(--borderLight);
    background: var(--surface);
    padding: 3rem 4rem;
}

.stats-bar span {
    color: var(--mutedText) !important;
}

.rating .row {
  margin-top: 6rem;
}

.rating .image-card {
  height: 60rem;
  overflow: hidden;
  border-radius: 1rem;
}

.rating .image-card:nth-child(2) {
  height: 50rem;
  align-self: flex-end;
}

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

section.portfolio {
  border-top: 1px solid var(--borderLight);
}

.portfolio .section_heading {
  flex-direction: column;
  text-align: center;
}

.portfolio .section_heading p {
  width: auto;
  margin-top: 5rem;
}

.showcases {
  margin-top: 8rem;
}

.showcases .showcase {
  border-top: 1px dashed var(--borderLight);
  cursor: pointer;
}

.showcases .showcase:last-child {
  border-bottom: 1px dashed var(--borderLight);
}

.showcases .showcase img {
  width: 100%;
  height: 100%;
  display: inline-block;
  margin-inline: auto;
  transition: 0.3s ease;
  border-radius: 1rem;
}

.showcases .showcase .heading_3 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: 0.3s ease;
}

.showcases .showcase:hover .heading_3 {
  opacity: 1;
}

.showcases .showcase:hover img {
  transform: rotate(-5deg) scale(1.5);
}

marquee {
  background: var(--surface);
  padding: 3rem;
  border-top: 1px solid var(--borderLight);
  border-bottom: 1px solid var(--borderLight);
}

.marque_holder {
  display: flex;
  align-items: center;
  justify-self: center;
}

.marque_holder img {
  width: 5rem;
}

.brands {
  padding-bottom: 0;
}

.brands .section_heading .heading_2 {
  text-align: right;
}

.brands .row {
  margin-top: 8rem;
}

.brands .brand-holder {
  height: 30rem;
  border-top: 1px solid var(--borderLight);
  border-right: 1px solid var(--borderLight);
}

.brand-holder:nth-child(n + 5) {
  border-bottom: 1px solid var(--borderLight);
}

.brands .brand-image {
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brands .brand-holder:hover .brand-image {
  border: 1px solid var(--borderLight);
  background: var(--surface);
}

.brands img {
  filter: initial; /* Removed invert */
  width: 30rem;
  max-width: 80%;
  opacity: 0.7;
}

footer {
  background: var(--surface);
  padding-top: 10rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--borderLight);
}

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

.footer p {
  font-size: 1.4rem;
  margin-left: 1rem;
  margin-top: 5rem;
  color: var(--mutedText);
}

.footer span {
  display: flex;
  gap: 2rem;
  margin-left: 1rem;
  margin-top: 1rem;
}

.footer span a {
  font-family: "heading", sans-serif;
  color: var(--primaryText);
}

footer hr {
  margin-top: 5rem;
  border-color: var(--borderLight);
}

footer small {
  display: block;
  text-align: center;
  margin-top: 2rem;
  opacity: 0.8;
  color: var(--mutedText);
}

/* Other cards */
.card {
    background: var(--surface);
    border: 1px solid var(--borderLight);
    border-radius: 1.5rem; /* Changed from 1rem */
    padding: 3.2rem; /* Changed from 2rem */
    display: flex;
    flex-direction: column;
    /* Removed height: 100%; */
}
.card_header span {
    font-size: 5rem;
    font-weight: bold;
    font-family: "heading", sans-serif;
    color: var(--primaryText);
}
.card_body {
    margin-top: auto;
}
.card_body .heading_3 {
    font-size: 2.4rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    line-height: 1.25; /* leading-tight */
    word-break: break-word; /* break-words */
    margin-bottom: 1.6rem; /* mb-4, adjusted from 2rem */
}

@media screen and (min-width: 640px) { /* sm */
    .card_body .heading_3 {
        font-size: 3rem; /* sm:text-3xl */
    }
}
.card_bg {
    background: var(--surface) !important;
}

/* General form inputs */
.quote-form-section input,
.quote-form-section textarea,
.quote-form-section select {
    background: #fff !important;
    border: 1px solid var(--borderLight) !important;
    color: var(--primaryText) !important;
    border-radius: 0.5rem !important;
}
.quote-form-section input::placeholder,
.quote-form-section textarea::placeholder {
    color: var(--mutedText) !important;
}
.quote-form-section select {
    color: var(--primaryText) !important;
}
.quote-form-section select option {
    color: var(--primaryText) !important;
    background: #fff !important;
}
.quote-form-section select option:disabled {
    color: var(--mutedText) !important;
}

/* Media Queries */

@media screen and (max-width: 1080px) {
  .heading_1 {
    font-size: 10rem;
  }
  .heading_2 {
    font-size: 6rem;
  }
  .heading_3 {
    font-size: 3rem;
  }
  main p {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 992px) {
  .brands img {
    width: 70%;
    object-fit: contain;
  }
}

@media screen and (max-width: 800px) {
  html{
    font-size: 60%;
  }
}

@media screen and (max-width: 768px) {
  html{
    font-size: 62.5%;
  }
  nav a:not(.logo, .btn_1){
    display: none;
  }

  .heading_1{
    font-size: 8rem;
  }
  .heading_2{
    font-size: 4rem;
  }
  .heading_3{
    font-size: 2.5rem;
  }
  .section_heading{
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .section_heading div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .section_heading div .btn_2{
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  .section_heading p{
    width: 90%;
  }
  .section_heading .heading_2{
    text-align: center !important;
  }
  .rating .section_heading .heading_2{
    margin-bottom: 3rem;
  }
  .rating .image-card{
    height: 30rem !important;
  }
  .stats-bar {
    padding: 2rem !important;
  }
  .stats-bar > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .showcases .showcase{
    margin-bottom: 2rem;
    border-bottom: none !important;
  }
  .showcases .showcase .heading_3{
    margin-block: 2rem;
  }
  .showcases .showcase img{
    height: 20rem;
    object-fit: contain;
    margin-block: 2rem;
  }
}

@media screen and (max-width: 576px){
  .intro{
    padding-block: 0rem;
  }
  .heading_1{
    font-size: 6rem;
    margin-top: 2rem !important;
  }
  .brand-holder{
    border-right: none !important;
    height: 15rem !important;
  }
  .brands .brand-image img{
    width: 40%;
  }
  .footer{
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .footer > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer .heading_3{
    margin-top: 5rem;
  }

  .footer .logo{
    margin-right: initial;
  }
  .animated {
    animation-delay: 0s !important; 
  }
}

@media screen and (max-width: 420px){
  nav a.btn_1{
    display: none;
  }
  .heading_1{
    font-size: 5rem;
  }
  .heading_2{
    font-size: 3rem;
  }
  .heading_3{
    font-size: 2rem;
  }
}

/* Blog Cards */
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--borderLight);
  border-radius: 1rem;
  padding: 2rem;
}

.blog-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-image img {
    border-radius: 1rem;
}

/* Quote Form Section */
.quote-form-section {
  padding: 8rem 0;
  background: var(--surface);
}


/* Blog Post Styles */
.blog-hero {
    position: relative;
    height: 50vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* bg-black/40 */
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.blog-hero-title {
    font-family: 'heading', sans-serif;
    font-size: 3.6rem; /* text-3xl */
    font-weight: 600; /* font-semibold */
    letter-spacing: -0.025em; /* tracking-tight */
    color: #fff;
}

@media screen and (min-width: 640px) { /* sm */
    .blog-hero-title {
        font-size: 4.8rem; /* sm:text-4xl */
    }
}

.blog-post-container {
    max-width: 768px; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    padding: 6rem 1.5rem 8rem 1.5rem; /* py-12, px-4, pb-16 */
}

@media screen and (min-width: 640px) { /* sm */
    .blog-post-container {
        padding-left: 2.25rem; /* sm:px-6 */
        padding-right: 2.25rem;
    }
}
@media screen and (min-width: 1024px) { /* lg */
    .blog-post-container {
        padding-left: 0; /* lg:px-0 */
        padding-right: 0;
    }
}

.blog-post-content p {
    font-size: 1.6rem; /* text-base */
    line-height: 1.75; /* leading-relaxed */
    color: var(--primaryText);
    margin-top: 1.6rem; /* mt-4 */
}

@media screen and (min-width: 640px) { /* sm */
    .blog-post-content p {
        font-size: 1.8rem; /* sm:text-lg */
    }
}

.blog-post-content h2 {
    font-family: 'heading', sans-serif;
    font-size: 2.4rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: var(--primaryText);
    margin-top: 4rem; /* mt-10 */
    margin-bottom: 1.6rem; /* mb-4 */
}

@media screen and (min-width: 640px) { /* sm */
    .blog-post-content h2 {
        font-size: 3rem; /* sm:text-3xl */
    }
}

.blog-post-content h3 {
    font-family: 'heading', sans-serif;
    font-size: 2rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: var(--primaryText);
    margin-top: 3.2rem; /* mt-8 */
    margin-bottom: 1.2rem; /* mb-3 */
}

@media screen and (min-width: 640px) { /* sm */
    .blog-post-content h3 {
        font-size: 2.4rem; /* sm:text-2xl */
    }
}

.blog-post-meta {
    color: var(--mutedText);
    font-size: 1.4rem;
    margin-bottom: 4rem;
    text-align: center;
}

.social-icon {
    width: 2.5rem; /* Adjust size as needed */
    height: 2.5rem; /* Adjust size as needed */
    object-fit: contain;
    filter: sepia(100%) hue-rotate(30deg) saturate(500%) brightness(70%); /* Approximate #E8C547 */
    transition: filter 0.3s ease;
}

.social-icon:hover {
    filter: brightness(0) invert(1); /* Makes it white */
}
