/*
  Theme Name: NewBiz (customized for Shree Samarth)
  Theme URL: https://bootstrapmade.com/newbiz-bootstrap-business-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/

  ------------------------------------------------------------------
  TABLE OF CONTENTS
  ------------------------------------------------------------------
  1.  General
  2.  Header & Logo
  3.  Navigation (Desktop + Mobile)
  4.  Hero / Intro Section
  5.  About Section
  6.  Services Section
  7.  Portfolio / Gallery Section
  8.  Contact Section
  9.  Footer
  10. Responsive Overrides
  ------------------------------------------------------------------
*/

/* ===================================================================
   1. GENERAL
=================================================================== */

/* Spacing / layout tokens – change --section-space to tighten or loosen every section at once */
:root {
  --header-h: 68px;        /* height of the fixed header once scrolled */
  --section-space: 50px;   /* top & bottom padding of every content section */
  --header-gap: 32px;      /* space between a section heading block and its content */
  --brand: #f3b518;
}

@media (max-width: 991px) {
  :root { --section-space: 42px; --header-gap: 26px; }
}

@media (max-width: 575px) {
  :root { --section-space: 34px; --header-gap: 22px; }
}

/* Lets the fixed header sit above a section without hiding its heading when a menu link is clicked */
html {
  scroll-padding-top: var(--header-h);
}

body {
  background: #fff;
  color: #444;
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
}
::selection {
  background: #f3b518;
  color: #22252a;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #f3b518;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d89b00;
}

a {
  color: #f3b518;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #c98e00;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

.section-header h3 {
  font-size: 36px;
  color: #283d50;
  text-align: center;
  font-weight: 500;
  position: relative;
}

.section-header p {
  text-align: center;
  margin: auto;
  font-size: 15px;
  padding-bottom: var(--header-gap);
  color: #556877;
  width: 50%;
}

.back-to-top {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  background: #f3b518;
  color: #22252a;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 20px;
  bottom: 20px;
  box-shadow: 0 8px 20px rgba(243, 181, 24, 0.4);
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top:hover {
  background: #ffd873;
  transform: translateY(-3px);
}

.back-to-top i {
  color: #22252a;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #f3b518;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* ===================================================================
   2. HEADER & LOGO
   (single source of truth — no conflicting duplicates)
=================================================================== */

#header {
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  transition: all 0.35s ease;
}

#header.header-scrolled {
  height: 68px;
  box-shadow: 0 6px 24px rgba(34, 37, 42, 0.12);
}

#header .container {
  height: 100%;
}

/* Logo: separated icon mark + text lockup */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-mark {
  display: block;
  height: 52px;
  width: auto;
  flex: 0 0 auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.4px;
  color: #5c646c;
  text-transform: uppercase;
}

.logo-text small {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.8px;
  color: #a3866b;
  margin-top: 2px;
}

@media (max-width: 480px) {
  .logo-text strong { font-size: 14px; }
  .logo-text small { display:contents; }
}


/* ===================================================================
   3. NAVIGATION (Desktop + Mobile)
=================================================================== */

/* --- Desktop nav --- */
.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav ul li a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: color 0.3s ease;
}

/* The line under the menu item – grows in from the left on hover, stays on for the section in view */
.main-nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.main-nav ul li a:hover {
  color: #b98700;
}

.main-nav ul li.active a {
  color: #22252a;
}

.main-nav ul li a:hover::after,
.main-nav ul li.active a::after {
  transform: scaleX(1);
}

/* --- Mobile menu toggle (hamburger) --- */
.mobile-nav-toggle {
  display: none;
  width: 45px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 7px;
  z-index: 10001;
}

.mobile-nav-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: #333;
  margin: 5px auto;
  transition: 0.3s;
  border-radius: 3px;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Mobile nav panel --- */
.mobile-nav {
  display: none;
}

@media (max-width: 991px) {

  #header {
    height: 70px;
  }

  #header .container {
    padding: 0 15px;
  }

  .logo-mark {
    height: 40px;
  }

  .logo-text strong { font-size: 15px; }
  .logo-text small { font-size: 9.5px; }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    z-index: 9998;
    display: none;
  }

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
  }

  .mobile-nav ul li {
    border-bottom: 1px solid #eee;
  }

  .mobile-nav ul li:last-child {
    border-bottom: none;
  }

  .mobile-nav ul li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
  }

  .mobile-nav ul li a {
    border-left: 4px solid transparent;
  }

  .mobile-nav ul li a:hover {
    background: #f7f7f7;
    color: #b98700;
  }

  /* Section currently in view */
  .mobile-nav ul li.active a {
    background: #fff8e1;
    color: #22252a;
    border-left-color: var(--brand);
  }
}

@media (max-width: 480px) {
  .logo-mark {
    height: 36px;
  }
}


/* ===================================================================
   4. HERO / INTRO SECTION
=================================================================== */

#intro {
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, #14161a 0%, #1e2126 45%, #262b33 100%);
  background-size: cover;
  padding: 200px 0 120px 0;
}

#intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 15%, rgba(243, 181, 24, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(255, 216, 115, 0.10) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  z-index: 0;
}

#intro .container {
  position: relative;
  z-index: 1;
}

#intro .intro-img {
  width: 50%;
  float: right;
   padding-left: 20px;
}

#intro .intro-img img {
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(243, 181, 24, 0.5);
}

#intro .intro-info {
  width: 50%;
  float: left;
}

#intro .intro-info h2 {
  color: #fff;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 700;
}

#intro .intro-info h2 span {
  background: linear-gradient(90deg, #ffd873 0%, #f3b518 55%, #e0a30f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(243, 181, 24, 0.55);
  text-underline-offset: 6px;
}

#intro .intro-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(243, 181, 24, 0.16);
  border: 1px solid rgba(243, 181, 24, 0.4);
  color: #ffd873;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 30px;
  margin-bottom: 22px;
}

#intro .intro-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffd873;
  margin: -16px 0 26px;
}

#intro .intro-stats {
  display: flex;
  gap: 40px;
  margin-top: 35px;
}

#intro .intro-stat {
  display: flex;
  flex-direction: column;
}

#intro .intro-stat .num {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffd873, #f3b518);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

#intro .intro-stat .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

#intro .intro-info .btn-get-started,
#intro .intro-info .btn-services {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 34px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin: 0 20px 20px 0;
  color: #fff;
}

#intro .intro-info .btn-get-started {
  background: linear-gradient(135deg, #ffd873, #f3b518);
  border: 2px solid #f3b518;
  color: #22252a;
  box-shadow: 0 10px 28px rgba(243, 181, 24, 0.4);
}

#intro .intro-info .btn-get-started:hover {
  background: linear-gradient(135deg, #ffe19a, #ffd873);
  border-color: #ffd873;
  color: #22252a;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(243, 181, 24, 0.5);
}

#intro .intro-info .btn-services {
  border: 2px solid rgba(255, 255, 255, 0.6);
}

#intro .intro-info .btn-services:hover {
  background: #f3b518;
  border-color: #f3b518;
  color: #22252a;
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  #intro {
    padding: 140px 0 60px 0;
  }

  #intro .intro-img {
    width: 90%;
    float: none;
    margin: 0 auto 25px auto;
  }

  #intro .intro-info {
    width: 80%;
    float: none;
    margin: auto;
    text-align: center;
  }
}

@media (max-width: 767px) {
  #intro .intro-info {
    width: 100%;
  }

  #intro .intro-info h2 {
    font-size: 34px;
    margin-bottom: 30px;
  }
}

@media (max-width: 574px) {
  #intro {
    padding: 100px 0 20px 0;
  }
}


/* ===================================================================
   5. ABOUT SECTION
=================================================================== */

#about {
  background: #fff;
  padding: var(--section-space) 0;
}

#about .section-header p {
  padding-bottom: var(--header-gap);
}

#about .about-container .background {
  margin: 20px 0;
}

#about .about-container .content {
  background: #fff;
}

#about .about-container .title {
  color: #333;
  font-weight: 700;
  font-size: 32px;
}

#about .about-container p {
  line-height: 26px;
}

#about .about-container p:last-child {
  margin-bottom: 0;
}

#about .about-container .icon-box {
  background: #fbfaf7;
  border: 1px solid #eee2c4;
  border-radius: 14px;
  padding: 22px 22px 22px 20px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

#about .about-container .icon-box:hover {
  background: #fff;
  border-color: #f3b518;
  box-shadow: 0 14px 34px rgba(34, 37, 42, 0.08);
  transform: translateY(-4px);
}

#about .about-container .icon-box .icon {
  float: left;
  background: #fff;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border-radius: 50%;
  border: 2px solid #f3b518;
  transition: all 0.3s ease-in-out;
}

#about .about-container .icon-box .icon i {
  color: #f3b518;
  font-size: 22px;
}

#about .about-container .icon-box:hover .icon {
  background: #f3b518;
}

#about .about-container .icon-box:hover .icon i {
  color: #fff;
}

#about .about-container .icon-box .title {
  margin-left: 76px;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

#about .about-container .icon-box .title a {
  color: #22252a;
}

#about .about-container .icon-box .description {
  margin-left: 76px;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

#about .about-photo {
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(34, 37, 42, 0.14);
  border: 4px solid #fff;
  max-height: 420px;
  object-fit: cover;
  width: 100%;
}

#about .expertise-heading {
  font-size: 18px;
  font-weight: 700;
  color: #22252a;
  margin-top: 30px;
  margin-bottom: 16px;
}

#about .expertise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

#about .expertise-list li {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

#about .expertise-list li i {
  color: #f3b518;
  margin-top: 3px;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  #about .expertise-list {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
   5b. VISION & MISSION
=================================================================== */

.vision-mission-section {
  background: #22252a;
  padding: 50px 0;
}

.vision-mission-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.vm-card {
  background: #2c2f33;
  border-radius: 16px;
  padding: 40px 34px;
  height: 100%;
  margin: 0 12px 24px;
  border: 1px solid rgba(243, 181, 24, 0.15);
}

.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(243, 181, 24, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vm-icon i {
  color: #f3b518;
  font-size: 22px;
}

.vm-card h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.vm-card p {
  color: #b9bec4;
  font-size: 14.5px;
  line-height: 26px;
  margin-bottom: 0;
}


/* ===================================================================
   5c. FACILITIES
=================================================================== */

.facilities-section {
  background: #fff;
  padding: var(--section-space) 0;
}

.facility-staff-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.facility-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fbfaf7;
  border: 1px solid #eee2c4;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 12px 24px;
  height: calc(100% - 24px);
}

.facility-badge {
  flex: 0 0 150px;
  background: #f3b518;
  color: #22252a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.facility-badge i {
  font-size: 26px;
  margin-bottom: 10px;
}

.facility-table {
  list-style: none;
  margin: 0;
  padding: 18px 22px;
  flex: 1;
}

.facility-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed #eee2c4;
  font-size: 14px;
  color: #444;
}

.facility-table li:last-child {
  border-bottom: none;
}

.facility-table li strong {
  color: #22252a;
  font-weight: 700;
}

.machinery-block {
  display: flex;
  align-items: stretch;
  background: #fbfaf7;
  border: 1px solid #eee2c4;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px;
  flex-wrap: wrap;
}

.machinery-badge {
  flex: 0 0 150px;
}

.machinery-row {
  flex: 1;
  margin: 0;
  padding: 18px 10px;
}

@media (max-width: 767px) {
  .facility-card,
  .machinery-block {
    flex-direction: column;
  }

  .facility-badge,
  .machinery-badge {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 10px;
    padding: 14px 20px;
  }

  .facility-badge i {
    margin-bottom: 0;
  }
}


/* ===================================================================
   5d. CUSTOMERS
=================================================================== */

.customers-section {
  background: #f7f9fc;
  padding: var(--section-space) 0;
}

.customer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.customer-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 30px;
  padding: 12px 26px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  transition: all 0.3s ease;
}

.customer-chip:hover {
  background: #f3b518;
  border-color: #f3b518;
  color: #22252a;
  transform: translateY(-3px);
}


/* ===================================================================
   6. SERVICES SECTION
=================================================================== */

#expertise {
  padding: var(--section-space) 0;
  background: #f7f9fc;
  position: relative;
  overflow: hidden;
}

#expertise::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(243, 181, 24, 0.05);
  top: -120px;
  left: -120px;
}

#expertise::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(243, 181, 24, 0.04);
  bottom: -100px;
  right: -80px;
}

#expertise .container {
  position: relative;
  z-index: 2;
}

#expertise .section-header {
  margin-bottom: 55px;
}

#expertise .section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f3b518;
  background: rgba(243, 181, 24, 0.08);
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 12px;
}

#expertise .section-header h3 {
  font-size: 36px;
  font-weight: 800;
  color: #182235;
  margin: 0 0 12px;
}

#expertise .section-header p {
  max-width: 650px;
  margin: auto;
  color: #6c757d;
  font-size: 15px;
  line-height: 26px;
  width: auto;
}

#expertise .services-graphic {
  display: block;
  max-width: 260px;
  margin: 30px auto 0;
}

@media (max-width: 767px) {
  #expertise .services-graphic {
    max-width: 200px;
    margin-top: 20px;
  }
}

/* --- Service card --- */
#expertise .service-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 35px 30px 30px;
  margin: 0 0 30px;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 30px rgba(35, 55, 80, 0.08);
  transition: all 0.4s ease;
}

#expertise .service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: #f3b518;
  transition: all 0.4s ease;
}

#expertise .service-card:hover::before {
  width: 100%;
}

#expertise .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(35, 55, 80, 0.15);
}

#expertise .service-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

#expertise .service-icon i {
  font-size: 28px;
}

#expertise .service-icon.pink   { color: #ff4f91; background: #fff0f6; }
#expertise .service-icon.yellow { color: #e6ad00; background: #fff8df; }
#expertise .service-icon.blue   { color: #3f43fd; background: #eef0ff; }
#expertise .service-icon.green  { color: #21a366; background: #eaf9f0; }
#expertise .service-icon.orange { color: #ef8b00; background: #fff3df; }
#expertise .service-icon.purple { color: #7654d6; background: #f2edff; }

#expertise .service-card:hover .service-icon {
  transform: rotate(-5deg) scale(1.08);
}

#expertise .service-number {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(243, 181, 24, 0.06);
}

#expertise .service-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #182235;
  margin-bottom: 13px;
  transition: 0.3s;
}

#expertise .service-card:hover h4 {
  color: #f3b518;
}

#expertise .service-card p {
  font-size: 14px;
  line-height: 24px;
  color: #6c757d;
  margin-bottom: 20px;
}

#expertise .service-link {
  font-size: 13px;
  font-weight: 700;
  color: #f3b518;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

#expertise .service-link i {
  transition: transform 0.3s ease;
}

#expertise .service-link:hover {
  color: #a67600;
}

#expertise .service-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  #expertise {
    padding: var(--section-space) 15px;
  }

  #expertise .section-header {
    margin-bottom: var(--header-gap);
  }

  #expertise .section-header h3 {
    font-size: 28px;
  }

  #expertise .section-header p {
    font-size: 14px;
    line-height: 23px;
  }

  #expertise .service-card {
    min-height: auto;
    padding: 28px 25px;
    margin-bottom: 22px;
  }

  #expertise .service-icon {
    width: 58px;
    height: 58px;
  }

  #expertise .service-icon i {
    font-size: 24px;
  }

  #expertise .service-card h4 {
    font-size: 18px;
  }

  #expertise .service-card p {
    font-size: 13px;
    line-height: 22px;
  }

  #expertise .service-number {
    font-size: 35px;
    top: 20px;
    right: 20px;
  }
}


/* ===================================================================
   7. PORTFOLIO / GALLERY SECTION
=================================================================== */

#portfolio {
  padding: var(--section-space) 0;
  background: #f7f9fc;
  position: relative;
  overflow: hidden;
}

#portfolio::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(243, 181, 24, 0.04);
  top: -150px;
  right: -100px;
}

#portfolio .container {
  position: relative;
  z-index: 2;
}

#portfolio .section-header {
  text-align: center;
  margin-bottom: 35px;
}

#portfolio .section-title {
  font-size: 36px;
  font-weight: 800;
  color: #172033;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

#portfolio .section-title::after {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  background: #f3b518;
  border-radius: 10px;
  margin: 12px auto 0;
}

/* Filter buttons (used if a filter list is added later) */
#portfolio #portfolio-flters {
  padding: 0;
  margin: 0 0 45px;
  list-style: none;
  text-align: center;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 9px 22px;
  margin: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #536174;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 30px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

#portfolio #portfolio-flters li:hover,
#portfolio #portfolio-flters li.filter-active {
  color: #ffffff;
  background: #f3b518;
  border-color: #f3b518;
}

#portfolio #portfolio-flters li.filter-active {
  box-shadow: 0 8px 20px rgba(243, 181, 24, 0.22);
}

/* Portfolio item */
#portfolio .portfolio-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
}

#portfolio .portfolio-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
  border-radius: 16px;
  background: #111;
  box-shadow: 0 10px 30px rgba(25, 42, 70, 0.10);
  transition: all 0.4s ease;
}

#portfolio .portfolio-wrap:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(25, 42, 70, 0.18);
}

#portfolio .portfolio-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, opacity 0.5s ease;
}

#portfolio .portfolio-wrap:hover img {
  transform: scale(1.10);
  opacity: 0.55;
}

#portfolio .portfolio-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 15, 30, 0.92) 0%,
    rgba(5, 15, 30, 0.45) 45%,
    rgba(5, 15, 30, 0.05) 100%
  );
  opacity: 0.8;
  transition: all 0.4s ease;
}

#portfolio .portfolio-wrap:hover::after {
  opacity: 1;
}

#portfolio .portfolio-wrap::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  z-index: 4;
  opacity: 0;
  transition: all 0.4s ease;
}

#portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

#portfolio .portfolio-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 25px;
  text-align: left;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

#portfolio .portfolio-wrap:hover .portfolio-info {
  transform: translateY(0);
}

#portfolio .portfolio-info p {
  display: inline-block;
  padding: 5px 12px;
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(243, 181, 24, 0.9);
  border-radius: 20px;
}

#portfolio .portfolio-info h4 {
  margin: 0 0 15px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}

#portfolio .portfolio-info h4 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

#portfolio .portfolio-info h4 a:hover {
  color: #65b3ff;
}

#portfolio .portfolio-info > div {
  display: flex;
  gap: 8px;
}

#portfolio .portfolio-info .link-preview,
#portfolio .portfolio-info .link-details {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

#portfolio .portfolio-info .link-preview i,
#portfolio .portfolio-info .link-details i {
  font-size: 18px;
  color: #f3b518;
}

#portfolio .portfolio-info .link-preview:hover,
#portfolio .portfolio-info .link-details:hover {
  background: #f3b518;
  transform: translateY(-3px);
}

#portfolio .portfolio-info .link-preview:hover i,
#portfolio .portfolio-info .link-details:hover i {
  color: #ffffff;
}

@media (max-width: 767px) {
  #portfolio {
    padding: var(--section-space) 15px;
  }

  #portfolio .section-title {
    font-size: 28px;
  }

  #portfolio #portfolio-flters {
    margin-bottom: 30px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  #portfolio #portfolio-flters::-webkit-scrollbar {
    display: none;
  }

  #portfolio #portfolio-flters li {
    flex: 0 0 auto;
    padding: 8px 17px;
    font-size: 10px;
  }

  #portfolio .portfolio-item {
    margin-bottom: 20px;
  }

  #portfolio .portfolio-wrap {
    height: 240px;
    border-radius: 14px;
  }

  #portfolio .portfolio-info {
    padding: 20px;
  }

  #portfolio .portfolio-info h4 {
    font-size: 18px;
  }

  #portfolio .portfolio-info p {
    font-size: 9px;
  }

  #portfolio .portfolio-info .link-preview,
  #portfolio .portfolio-info .link-details {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  #portfolio .portfolio-wrap {
    height: 220px;
  }

  #portfolio .portfolio-info h4 {
    font-size: 17px;
  }
}


/* ===================================================================
   8. CONTACT SECTION
=================================================================== */

#contact {
  padding: var(--section-space) 0;
  background: #f5f8fc;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(243, 181, 24, 0.04);
  top: -180px;
  left: -150px;
}

#contact::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(243, 181, 24, 0.035);
  bottom: -130px;
  right: -100px;
}

#contact .container {
  position: relative;
  z-index: 2;
}

/* Heading */
#contact .contact-heading {
  max-width: 700px;
  margin: 0 auto var(--header-gap);
}

#contact .contact-heading span {
  display: inline-block;
  padding: 7px 17px;
  background: #e9f3ff;
  color: #f3b518;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

#contact .contact-heading h3 {
  font-size: 36px;
  font-weight: 800;
  color: #182235;
  margin: 0 0 12px;
}

#contact .contact-heading p {
  color: #6c757d;
  font-size: 15px;
  line-height: 25px;
  margin: 0;
}

/* Wrapper */
#contact .contact-wrapper {
  display: flex;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(28, 48, 75, 0.12);
}

/* Left: info panel */
#contact .contact-info {
  width: 42%;
  position: relative;
  color: #fff;
  background: linear-gradient(145deg, #2c2f33, #5c646c);
  overflow: hidden;
}

#contact .contact-info::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  right: -130px;
  bottom: -100px;
}

#contact .contact-info-content {
  position: relative;
  z-index: 2;
  padding: 55px 45px;
}

#contact .small-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f6c748;
}

#contact .contact-info h3 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  margin: 15px 0;
}

#contact .info-text {
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 35px;
}

#contact .contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

#contact .contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  margin-right: 14px;
  transition: 0.3s;
}

#contact .contact-detail:hover .contact-icon {
  background: #f3b518;
  transform: translateY(-3px);
}

#contact .contact-icon i {
  font-size: 17px;
  color: #ffffff;
}

#contact .contact-detail span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f6c748;
  margin-bottom: 4px;
}

#contact .contact-detail p {
  margin: 0;
  font-size: 13px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.85);
}

#contact .contact-social {
  margin-top: 35px;
}

#contact .contact-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 7px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
}

#contact .contact-social a:hover {
  background: #ffffff;
  color: #f3b518;
  transform: translateY(-4px);
}

/* Right: form panel */
#contact .contact-form-box {
  width: 58%;
  padding: 55px 50px;
  background: #ffffff;
}

#contact .form-heading {
  margin-bottom: 30px;
}

#contact .form-heading span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f3b518;
}

#contact .form-heading h3 {
  font-size: 27px;
  font-weight: 700;
  color: #182235;
  margin: 7px 0;
}

#contact .form-heading p {
  margin: 0;
  color: #7b8794;
  font-size: 13px;
}

#contact .form-field {
  margin-bottom: 20px;
}

#contact .form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 7px;
}

#contact .input-box {
  position: relative;
}

#contact .input-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #8b98a8;
  z-index: 2;
  transition: 0.3s;
}

#contact .form input,
#contact .form textarea {
  width: 100%;
  border: 1px solid #e2e7ed;
  background: #f9fbfd;
  border-radius: 10px;
  padding: 13px 15px 13px 43px;
  font-size: 13px;
  color: #333;
  outline: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

#contact .form input {
  height: 48px;
}

#contact .form textarea {
  resize: vertical;
  min-height: 125px;
}

#contact .form input:focus,
#contact .form textarea:focus {
  border-color: #f3b518;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(243, 181, 24, 0.08);
}

#contact .input-box:focus-within i {
  color: #f3b518;
}

#contact .form input::placeholder,
#contact .form textarea::placeholder {
  color: #a3adb8;
}

#contact .textarea-box i {
  top: 20px;
  transform: none;
}

#contact .submit-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

#contact .submit-area button {
  border: 0;
  padding: 13px 25px;
  border-radius: 30px;
  color: #ffffff;
  background: #f3b518;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(243, 181, 24, 0.20);
}

#contact .submit-area button i {
  margin-left: 8px;
  transition: 0.3s;
}

#contact .submit-area button:hover {
  background: #c98e00;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(243, 181, 24, 0.28);
}

#contact .submit-area button:hover i {
  transform: translateX(4px);
}

#contact .submit-area span {
  font-size: 11px;
  color: #9aa4af;
}

#contact .submit-area span i {
  color: #27ae60;
  margin-right: 5px;
}

@media (max-width: 991px) {
  #contact {
    padding: var(--section-space) 15px;
  }

  #contact .contact-wrapper {
    flex-direction: column;
  }

  #contact .contact-info,
  #contact .contact-form-box {
    width: 100%;
  }

  #contact .contact-info-content,
  #contact .contact-form-box {
    padding: 40px 30px;
  }
}

@media (max-width: 767px) {
  #contact .contact-heading {
    margin-bottom: var(--header-gap);
  }

  #contact .contact-heading h3 {
    font-size: 27px;
  }

  #contact .contact-heading p {
    font-size: 13px;
  }

  #contact .contact-info h3 {
    font-size: 27px;
  }

  #contact .contact-form-box {
    padding: 35px 22px;
  }

  #contact .form-heading h3 {
    font-size: 23px;
  }

  #contact .submit-area {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  #contact .submit-area button {
    width: 100%;
  }

  #contact .submit-area span {
    align-self: center;
  }
}


/* ===================================================================
   9. FOOTER
=================================================================== */

#footer {
  background: #1c1e21;
  padding: 0 0 30px 0;
  color: #cfd2d6;
  font-size: 14px;
}

#footer .footer-top {
  background: #22252a;
  padding: 65px 0 30px;
  border-bottom: 1px solid rgba(243, 181, 24, 0.15);
}

#footer .footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}

#footer .footer-logo-mark {
  display: block;
  height: 44px;
  width: auto;
  flex: 0 0 auto;
}

#footer .footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

#footer .footer-logo-text strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.4px;
  color: #fff;
  text-transform: uppercase;
}

#footer .footer-logo-text small {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #f3b518;
  margin-top: 2px;
}

#footer .footer-info p {
  font-size: 13px;
  line-height: 24px;
  margin-bottom: 22px;
  color: #a7abb1;
}

#footer .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 181, 24, 0.12);
  color: #f3b518;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #f3b518;
  color: #1c1e21;
  transform: translateY(-3px);
}

#footer .footer-top h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: #f3b518;
  border-radius: 4px;
}

#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links ul li {
  padding: 7px 0;
}

#footer .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-links ul a {
  color: #a7abb1;
  font-size: 13.5px;
  transition: 0.3s;
}

#footer .footer-links ul a:hover {
  color: #f3b518;
  padding-left: 4px;
}

#footer .footer-contact p {
  line-height: 24px;
  font-size: 13.5px;
  color: #a7abb1;
  margin-bottom: 14px;
}

#footer .footer-contact p i {
  color: #f3b518;
  width: 18px;
}

#footer .copyright {
  text-align: center;
  padding-top: 26px;
  font-size: 13px;
  color: #8a9199;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #f7f1e4;
}

#footer .credits a {
  color: #f0d998;
}

#footer .credits a:hover {
  color: #f7f1e4;
}


/* ===================================================================
   10. RESPONSIVE OVERRIDES (global)
=================================================================== */

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }

  .section-header p {
    width: 100%;
  }

  #intro .intro-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
  }

  #footer .footer-info,
  #footer .footer-links,
  #footer .footer-contact {
    margin-bottom: 30px;
  }
}
/* ===================================================================
   11. CUSTOM VISUAL PLACEHOLDERS (About / Portfolio / Partners)
=================================================================== */

/* About section visual panel (replaces photograph) */
.about-photo-wrap {
  position: relative;
}

.about-visual {
  position: relative;
  width: 100%;
  min-height: 380px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
}

.about-visual-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(243, 181, 24, 0.16) 0%, rgba(0,0,0,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about-visual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  max-width: 340px;
}

.about-visual-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 26px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.about-visual-icon:hover {
  background: rgba(243, 181, 24, 0.12);
  border-color: rgba(243, 181, 24, 0.35);
  transform: translateY(-4px);
}

.about-visual-icon i {
  font-size: 26px;
  color: #f3b518;
}

.about-visual-icon span {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  text-align: center;
}

.about-visual-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  color: #f3b518;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(243, 181, 24, 0.3);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Portfolio icon-tile media (replaces product photography) */
#portfolio .portfolio-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.7s ease, opacity 0.5s ease;
}

#portfolio .portfolio-wrap:hover .portfolio-media {
  transform: scale(1.10);
  opacity: 0.55;
}

#portfolio .portfolio-media i {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
}


/* Partner wordmark badges (replaces client logo images) */
.partner-card .partner-logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.3px;
  color: #334155;
  text-align: center;
  filter: grayscale(100%) contrast(1.15) brightness(0.85);
  opacity: 0.65;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover .partner-logo-text {
  filter: grayscale(0%) contrast(1) brightness(1);
  opacity: 1;
  color: #ea580c;
  transform: scale(1.06);
}

/* Contact form status message */
.form-status {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.form-status-success {
  background: #e6f8ec;
  color: #157a3d;
  border: 1px solid #b7ecc8;
}

/* wow / scroll-reveal fade-in */
.wow {
  opacity: 0;
}

.wow.animated {
  opacity: 1;
}