/* ============================================
   Precon Smith Construction - Custom Styles
   Built on Bootstrap 5
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --ps-primary: #f49b00;
  --ps-primary-dark: #d98a00;
  --ps-dark: #04192b;
  --ps-dark-lighter: #0a2540;
  --ps-topbar-bg: #f7f7f7;
  --ps-body-color: #626262;
  --ps-light-text: #cfcfcf;
  --ps-font: 'Titillium Web', Arial, sans-serif;
}

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

body {
  font-family: var(--ps-font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ps-body-color);
}

a {
  color: var(--ps-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--ps-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ps-font);
  color: #1a1a1a;
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Topbar --- */
.topbar {
  background-color: var(--ps-topbar-bg);
  padding: 8px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #eee;
}

.topbar span {
  margin-left: 20px;
}

.topbar i {
  color: var(--ps-primary);
  margin-right: 5px;
}

/* --- Site Header --- */
.site-header {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
}

.site-header .logo img {
  width: 280px;
  height: 50px;
  object-fit: contain;
  margin-top: 5px;
}

/* --- Main Navigation --- */
.main-nav {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  gap: 0;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  display: block;
  padding: 15px 16px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--ps-primary);
  transition: width 0.3s ease;
}

.main-nav > li:hover > a,
.main-nav > li.active > a {
  color: var(--ps-primary);
}

.main-nav > li:hover > a::before,
.main-nav > li.active > a::before {
  width: 100%;
}

/* Dropdown */
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--ps-dark);
  border: none;
  border-top: 3px solid var(--ps-primary);
  border-radius: 0;
  padding: 0;
  margin: 0;
  z-index: 1001;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.main-nav .nav-dropdown:hover .dropdown-menu {
  display: block;
}

.main-nav .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.main-nav .dropdown-menu li a:hover {
  background-color: rgba(244, 155, 0, 0.1);
  color: var(--ps-primary);
  padding-left: 25px;
}

/* Hamburger Toggle */
.hamburger-toggle {
  border: none;
  background: none;
  font-size: 24px;
  color: #333;
  padding: 5px 10px;
  float: right;
  margin-top: 5px;
}

.hamburger-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Offcanvas */
.offcanvas {
  background-color: var(--ps-dark) !important;
}

.offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
}

.offcanvas .mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offcanvas .mobile-nav li a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.offcanvas .mobile-nav li a:hover,
.offcanvas .mobile-nav li.active a {
  color: var(--ps-primary);
  padding-left: 25px;
}

.offcanvas .mobile-nav .sub-menu {
  list-style: none;
  padding-left: 20px;
}

.offcanvas .mobile-nav .sub-menu li a {
  font-size: 14px;
  padding: 10px 20px;
}

/* --- Page Header / Banner --- */
.page-header-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 80px 0 40px;
  text-align: center;
  color: #fff;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 25, 43, 0.75);
}

.page-header-banner .container {
  position: relative;
  z-index: 1;
}

.page-header-banner .subtitle {
  color: var(--ps-primary);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-header-banner h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 0;
}

.breadcrumb-area {
  background: #121212;
  padding: 12px 0;
}

.breadcrumb-area .breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: 14px;
}

.breadcrumb-area .breadcrumb-item a {
  color: var(--ps-light-text);
}

.breadcrumb-area .breadcrumb-item a:hover {
  color: var(--ps-primary);
}

.breadcrumb-area .breadcrumb-item.active {
  color: var(--ps-primary);
}

.breadcrumb-area .breadcrumb-item + .breadcrumb-item::before {
  color: #999;
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
}

/* --- Hero Carousel (Homepage) --- */
.hero-carousel .carousel-item {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 25, 43, 0.6);
}

.hero-carousel .carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: center;
  z-index: 2;
}

.hero-carousel .carousel-caption h2 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-carousel .carousel-caption p {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  margin-bottom: 25px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: 2px solid #fff;
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--ps-primary);
  border-color: var(--ps-primary);
}

/* --- Buttons --- */
.btn-primary {
  background-color: var(--ps-primary) !important;
  border-color: var(--ps-primary) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 12px 35px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--ps-primary-dark) !important;
  border-color: var(--ps-primary-dark) !important;
  box-shadow: 0 4px 15px rgba(244, 155, 0, 0.3);
}

.btn-outline-primary {
  color: var(--ps-primary);
  border-color: var(--ps-primary);
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--ps-primary);
  border-color: var(--ps-primary);
  color: #fff;
}

.btn-hero {
  background-color: var(--ps-primary);
  border: 2px solid var(--ps-primary);
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

/* --- Section Styles --- */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--ps-primary);
}

.section-title p {
  color: #888;
  font-size: 16px;
  margin-top: 10px;
}

/* --- Service Cards --- */
.service-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
}

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

.service-card .card-img-top {
  border-radius: 0;
  transition: all 0.5s ease;
}

.service-card:hover .card-img-top {
  transform: scale(1.05);
}

.service-card .card-img-wrapper {
  overflow: hidden;
}

.service-card .card-body {
  padding: 25px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.service-card:hover .card-body {
  border-bottom-color: var(--ps-primary);
}

.service-card .card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card .card-title a {
  color: #1a1a1a;
}

.service-card .card-title a:hover {
  color: var(--ps-primary);
}

.service-card .card-text {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
}

.service-card .read-more {
  color: var(--ps-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.service-card .read-more:hover {
  color: var(--ps-primary-dark);
}

/* --- Client Logos --- */
.client-card {
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.client-card img {
  max-height: 100px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-card h6 {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* --- Clients Page Grid --- */
.clients-grid .client-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  text-align: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.clients-grid .client-item:hover {
  border-color: var(--ps-primary);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.clients-grid .client-item img {
  max-height: 120px;
  width: auto;
  margin-bottom: 15px;
}

.clients-grid .client-item .client-name {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 -20px -20px;
  transition: background 0.3s ease;
}

.clients-grid .client-item:hover .client-name {
  background: var(--ps-primary);
}

/* --- Project Table --- */
.project-table {
  font-size: 15px;
}

.project-table thead {
  background: var(--ps-dark);
  color: #fff;
}

.project-table thead th {
  padding: 15px;
  font-weight: 600;
  border: none;
}

.project-table td {
  padding: 12px 15px;
  vertical-align: middle;
}

.project-table .section-header td {
  background: var(--ps-primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.project-table .status-ongoing {
  color: var(--ps-primary);
  font-weight: 600;
}

.project-table .status-completed {
  color: #28a745;
  font-weight: 600;
}

/* --- Team Table --- */
.team-table thead {
  background: var(--ps-dark);
  color: #fff;
}

.team-table thead th {
  padding: 15px;
  font-weight: 600;
}

.team-table td {
  padding: 15px;
  vertical-align: top;
  line-height: 1.8;
}

.team-table .member-name {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 16px;
}

.team-table .member-position {
  color: var(--ps-primary);
  font-weight: 600;
}

/* --- Sidebar --- */
.sidebar-widget {
  background: #fff;
  border: 1px solid #eee;
  padding: 25px;
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ps-primary);
  position: relative;
}

.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  border-bottom: 1px solid #f0f0f0;
}

.quick-links li a {
  display: block;
  padding: 12px 0 12px 15px;
  color: var(--ps-body-color);
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.quick-links li a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--ps-primary);
  transition: left 0.3s ease;
}

.quick-links li a:hover {
  color: var(--ps-primary);
  padding-left: 20px;
}

.quick-links li a:hover::before {
  left: 5px;
}

/* Mission / Vision Boxes */
.info-box {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 4px;
  cursor: pointer;
}

.info-box .box-front {
  background: var(--ps-dark);
  color: #fff;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-box .box-front h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.info-box .box-back {
  background: var(--ps-primary);
  color: #fff;
  padding: 25px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.info-box:hover .box-back {
  transform: translateY(0);
}

.info-box .box-back p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* --- Services Sidebar --- */
.services-sidebar {
  background: #fff;
  border: 1px solid #eee;
  margin-bottom: 30px;
}

.services-sidebar h4 {
  background: var(--ps-dark);
  color: #fff;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.services-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-sidebar ul li a {
  display: block;
  padding: 14px 20px;
  color: #555;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.services-sidebar ul li a:hover,
.services-sidebar ul li.active a {
  color: var(--ps-primary);
  padding-left: 25px;
  background: #fafafa;
  border-left: 3px solid var(--ps-primary);
}

/* Contact sidebar */
.contact-sidebar {
  background: var(--ps-dark);
  color: #fff;
  padding: 25px;
  border-radius: 4px;
}

.contact-sidebar h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-sidebar p {
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-sidebar i {
  color: var(--ps-primary);
  margin-right: 8px;
  width: 20px;
}

/* --- Footer Widgets --- */
.footer-widgets {
  background-color: var(--ps-dark);
  padding: 60px 0 40px;
  color: #aaa;
}

.footer-widgets h4 {
  color: var(--ps-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 12px;
  position: relative;
}

.footer-widgets h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--ps-primary);
}

.footer-widgets p {
  font-size: 15px;
  line-height: 1.7;
  color: #aaa;
}

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

.footer-widgets ul li {
  margin-bottom: 0;
}

.footer-widgets ul li a {
  display: block;
  color: #aaa;
  font-size: 15px;
  padding: 8px 0 8px 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.footer-widgets ul li a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--ps-primary);
}

.footer-widgets ul li a:hover {
  color: var(--ps-primary);
  padding-left: 20px;
}

.footer-widgets .btn-contact {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 25px;
  background: var(--ps-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.footer-widgets .btn-contact:hover {
  background: var(--ps-primary-dark);
}

.footer-widgets .social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #aaa;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.footer-widgets .social-icons a:hover {
  background: var(--ps-primary);
  border-color: var(--ps-primary);
  color: #fff;
}

/* --- Copyright Bar --- */
.copyright-bar {
  background-color: #031524;
  padding: 18px 0;
  color: #777;
  font-size: 14px;
}

.copyright-bar p {
  margin: 0;
}

.copyright-bar a {
  color: var(--ps-primary);
}

.copyright-bar .social-icons a {
  display: inline-block;
  color: #777;
  margin-left: 15px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.copyright-bar .social-icons a:hover {
  color: var(--ps-primary);
}

/* --- Welcome Section (Homepage) --- */
.welcome-section {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.welcome-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.welcome-section p {
  max-width: 800px;
  margin: 0 auto 25px;
  font-size: 17px;
  color: #666;
}

/* --- Clients Carousel (Homepage) --- */
.clients-carousel {
  background: var(--ps-topbar-bg);
  padding: 60px 0;
}

.clients-carousel .client-logo {
  padding: 15px 20px;
  text-align: center;
}

.clients-carousel .client-logo img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.clients-carousel .client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Bootstrap Tab Overrides (Policies Page) --- */
.policy-tabs .nav-tabs {
  border-bottom: 2px solid #eee;
}

.policy-tabs .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #555;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 25px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 0;
}

.policy-tabs .nav-tabs .nav-link:hover,
.policy-tabs .nav-tabs .nav-link.active {
  color: var(--ps-primary);
  border-bottom-color: var(--ps-primary);
  background: none;
}

.policy-tabs .tab-content {
  padding: 30px 0;
}

.policy-tabs .tab-pane ul li {
  margin-bottom: 8px;
  padding-left: 5px;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '\f065';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 155, 0, 0.7);
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* --- Contact Form --- */
.contact-form .form-control {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--ps-primary);
  box-shadow: 0 0 0 0.2rem rgba(244, 155, 0, 0.15);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border: 2px solid var(--ps-primary);
  color: var(--ps-primary);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 16px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--ps-primary);
  color: #fff;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 991px) {
  .hero-carousel .carousel-item {
    height: 450px;
  }
  .hero-carousel .carousel-caption h2 {
    font-size: 32px;
  }
  .hero-carousel .carousel-caption p {
    font-size: 16px;
  }
  .page-header-banner h1 {
    font-size: 30px;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .services-sidebar {
    margin-top: 30px;
  }
  .contact-sidebar {
    margin-top: 20px;
  }
}

/* Small tablet / large phone */
@media (max-width: 767px) {
  .hero-carousel .carousel-item {
    height: 350px;
  }
  .hero-carousel .carousel-caption h2 {
    font-size: 24px;
  }
  .hero-carousel .carousel-caption p {
    font-size: 14px;
    display: none;
  }
  .btn-hero {
    padding: 10px 25px;
    font-size: 12px;
    letter-spacing: 1px;
  }
  .page-header-banner {
    padding: 50px 0 25px;
  }
  .page-header-banner h1 {
    font-size: 24px;
  }
  .page-header-banner .subtitle {
    font-size: 13px;
  }
  .topbar {
    display: none;
  }
  .welcome-section {
    padding: 50px 15px;
  }
  .welcome-section h2 {
    font-size: 24px;
  }
  .welcome-section p {
    font-size: 15px;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .section-title p {
    font-size: 14px;
    padding: 0 10px;
  }
  .footer-widgets {
    padding: 40px 0 20px;
    text-align: center;
  }
  .footer-widgets h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-widgets ul li a {
    justify-content: center;
  }
  .copyright-bar {
    text-align: center;
  }
  .copyright-bar .text-end {
    text-align: center !important;
    margin-top: 10px;
  }
  .project-table {
    font-size: 13px;
  }
  .project-table td,
  .project-table th {
    padding: 8px 10px;
  }
  .contact-form {
    margin-bottom: 40px;
  }
  .info-box {
    margin-bottom: 15px;
  }
  .sidebar-widget {
    margin-top: 30px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  .gallery-item img {
    height: 150px;
  }
  .client-card {
    padding: 10px;
    margin-bottom: 15px;
  }
  .client-card img {
    max-height: 70px;
  }
  .client-card h6 {
    font-size: 11px;
  }
  .team-table td {
    padding: 10px;
    font-size: 14px;
  }
  .team-table .member-name {
    font-size: 14px;
  }
  .policy-tabs .nav-tabs .nav-link {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* Phone */
@media (max-width: 575px) {
  body {
    font-size: 16px;
  }
  .site-header {
    padding: 8px 0;
  }
  .site-header .logo img {
    width: 180px;
    height: auto;
  }
  .hero-carousel .carousel-item {
    height: 280px;
  }
  .hero-carousel .carousel-caption h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .hero-carousel .carousel-caption {
    padding: 0 15px;
  }
  .btn-hero {
    padding: 8px 20px;
    font-size: 11px;
  }
  .page-header-banner {
    padding: 40px 0 20px;
  }
  .page-header-banner h1 {
    font-size: 20px;
  }
  .breadcrumb-area {
    padding: 8px 0;
  }
  .breadcrumb-area .breadcrumb {
    font-size: 12px;
  }
  .section-title {
    margin-bottom: 30px;
  }
  .section-title h2 {
    font-size: 20px;
    padding-bottom: 10px;
  }
  .service-card .card-body {
    padding: 15px;
  }
  .service-card .card-title {
    font-size: 16px;
  }
  .service-card .card-text {
    font-size: 14px;
  }
  .services-sidebar ul li a {
    padding: 10px 15px;
    font-size: 14px;
  }
  .contact-sidebar {
    padding: 20px;
  }
  .footer-widgets h4 {
    font-size: 16px;
  }
  .footer-widgets p,
  .footer-widgets ul li a {
    font-size: 14px;
  }
  .copyright-bar {
    font-size: 12px;
    padding: 15px 0;
  }
  .copyright-bar p {
    font-size: 12px;
  }
  .quick-links li a {
    font-size: 14px;
    padding: 10px 0 10px 15px;
  }
  .hamburger-toggle {
    padding: 5px 5px;
    margin-top: 2px;
  }
}
