/* =========================================
   Global Styles
========================================= */
:root{
  --olive: #5E6B4C;
  --olive-dark: #424f32;
  --sand: #DCC9A3;
  --off-white: #F8F6F1;
  --brown: #3E3428;
  --gray: #838181;
}

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

body {
  font-family: "Poppins", Arial, sans-serif;
  background: var(--off-white);
  color: var(--brown);
  overflow-x: hidden;
}

/* Container width */
.content-wrapper{
  width: 85%;
  margin: 0 auto;
}
.content-wrapper-about,
.content-wrapper-services {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
}
#services{
  padding-top: 4px;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease;
}
.section-heading h2 {
  font-size: 2.5rem;
    color: var(--brown);
  position: relative;
}
.section-heading h2 span {
    color: var(--olive);
}
.section-heading p {
   color: var(--gray);
  margin-top: 20px;
  margin-bottom: 35px;
}

/* Glow-line under heading */
.section-heading h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: var(--olive);
  margin: 8px auto 0;
  display: block;
  border-radius: 2px;
    box-shadow:
      0 0 12px rgba(94,107,76,.35);
}


/* =========================================
   BUTTONS (Improved Modern Design)
========================================= */

.btn-primary,
.btn-secondary {
  padding: 16px 34px;
  border-radius: 50px;
  font-size: 1.32rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Shine animation overlay */
.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: all 0.4s ease;
}

/* PRIMARY BUTTON */
.btn-primary {
  background:
      linear-gradient(
          135deg,
          var(--olive),
          var(--olive-dark)
      );

  color: var(--off-white);

  box-shadow:
      0 8px 20px rgba(94,107,76,.25);
  margin-top: 30px;
  width: 280px; 
  height: 57px;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.04);
    box-shadow:
      0 12px 30px rgba(94,107,76,.35);

}

.btn-primary:hover::after {
  left: 100%;
  
}

/* SECONDARY BUTTON (Glass Style) */
.btn-secondary {
  background:
      rgba(248,246,241,.08);

  border:
      2px solid var(--olive);

  color: var(--olive);
  backdrop-filter: blur(6px);
    box-shadow:
      0 8px 20px rgba(94,107,76,.15);
}

.btn-secondary:hover {
  background:
      var(--olive);

  color:
      var(--off-white);

  box-shadow:
      0 12px 28px rgba(94,107,76,.35);

  transform: translateY(-5px) scale(1.04);
  
}

.btn-secondary:hover::after {
  left: 100%;
}


/* =========================================
   ABOUT SECTION
========================================= */


.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text .lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gray);
  animation: fadeInLeft 1s ease;
}

/* Image Frame */
.about-image-frame {
  width: 330px;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
    box-shadow:
      0 10px 25px rgba(0,0,0,.08);
  transition: 0.3s ease;
  animation: fadeInRight 1s ease;
}

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

.about-image-frame:hover {
  transform: scale(1.04);
    box-shadow:
      0 15px 35px rgba(94,107,76,.25);
}

/* =========================================
   SERVICES SECTION
========================================= */
.services {
  padding: 80px 0;
      background: var(--sand);
    
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}


.service-card {
    height: 260px !important;

    padding: 30px;

    border-radius: 24px;

    text-align: center;

    position: relative;

    overflow: hidden;

    animation: fadeInUp 0.9s ease;

    transition: all 0.35s ease;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border:
        1px solid rgba(220,201,163,0.15);;

    box-shadow:
        0 10px 28px rgba(0,0,0,0.08);
}

.service-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(44, 44, 44, 0.433),
            rgba(62, 52, 40, 0.266)
        );

    backdrop-filter: blur(1px);

    z-index: 0;
}

/* Ensure text stays above overlay */

.service-card * {
    position: relative;
    z-index: 2;
}

/* Icons */

.service-card i {
    font-size: 2.5rem;

    color: var(--off-white);

    margin-bottom: 15px;

    transition: 0.35s ease;
}

/* Heading */

.service-card h3 {
    font-size: 1.5rem;

    color: var(--off-white);

    margin-bottom: 10px;
}


.service-card p {
  color: #F5EFE6;
  
}


.service-card:hover i {
  transform: scale(1.2);
}

.service-card:nth-child(1) {
    background-image: url("/images/office_cabinet.jpg");
}

.service-card:nth-child(2) {
    background-image: url("/images/revol_chair.jpg");
}

.service-card:nth-child(3) {
    background-image: url("/images/comp_table.jpg");
}

.service-card:nth-child(4) {
    background-image: url("/images/bed.jpg");
}

.project-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    height: 42px;              /* fixed height */
    padding: 0 16px;           /* smaller horizontal padding */

    border: none;
    border-radius: 999px;

    text-decoration: none;
    white-space: nowrap;

    font-size: 0.85rem;
    font-weight: 600;

    color: #FAFAFA;

  background:
  linear-gradient(
  135deg,
  var(--olive),
  var(--olive-dark)
  );

    transition: all 0.3s ease;
}

.project-btn i{
    font-size: 1.85rem!important;
}

.project-btn:hover{
    transform: translateY(-2px);
        box-shadow:
        0 10px 24px rgba(94,107,76,.35);
}
/* =========================================
   CTA SECTION
========================================= */
.cta {
  padding: 80px 0;
  text-align: center;
background:
linear-gradient(
135deg,
var(--sand),
var(--olive)
);
  color: var(--off-white);
  animation: fadeIn 1.2s ease;
}

.cta h2 {
  font-size: 2.2rem;
}
.cta p {
  margin: 15px 0 25px;
  color: rgba(248,246,241,.9);
}

/* Visitor Counter Wrapper */

.visit-container {
    display: flex;
    justify-content: center;
}

.visit-count {
    
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background:
        rgba(248,246,241,.08);

    border:
        1px solid rgba(220,201,163,.18);

    color:
        var(--off-white);
    border-radius: 50px;
    backdrop-filter: blur(6px);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    animation: fadeInCounter 1s ease-in-out;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}


/* Number Styling */
.visit-count span {
    font-weight: 700;
    font-size: 1.1rem;
        color:
        var(--sand);

    text-shadow:
        0 0 12px rgba(220,201,163,.35);

}

/* Optional Icon */
.visit-count i {
    font-size: 1.1rem;
    color: var(--sand);
    filter: drop-shadow(0 0 4px rgba(245,239,230,0.35));
}

/* Animation */
@keyframes fadeInCounter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =========================================
   Animations
========================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}