/* Silktide Consent Banner Settings Modal Button Fix */
#silktide-modal .st-button,
#silktide-modal button,
#silktide-wrapper #silktide-modal .st-button {
  background: #0d6efd !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
#silktide-modal .st-button:hover,
#silktide-modal button:hover {
  background: #0b5ed7 !important;
}

/* Show cookie icon after consent */
#silktide-cookie-icon {
  display: flex !important;
  z-index: 99999 !important;
}

/* Cookie banner UI cleanup + compact sizing */
#silktide-banner {
  max-width: 520px !important;
  width: 92% !important;
  border-radius: 12px !important;
  padding: 16px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}

#silktide-banner p {
  margin-bottom: 10px !important;
}

#silktide-banner .st-button,
#silktide-banner button {
  padding: 4px 10px !important;
  font-size: 0.8rem !important;
  border-radius: 6px !important;
}

#silktide-banner .st-button + .st-button,
#silktide-banner button + button {
  margin-left: 8px !important;
}

/* Preferences modal compact sizing */
#silktide-modal {
  max-width: 560px !important;
  width: 92% !important;
  border-radius: 12px !important;
}

/* Remove dark bar in preferences modal */
#silktide-modal .actions,
#silktide-modal .actions-row {
  background: transparent !important;
  padding: 8px 0 0 0 !important;
  border: none !important;
  box-shadow: none !important;
}

#silktide-modal .actions::before,
#silktide-modal .actions::after,
#silktide-modal .actions-row::before,
#silktide-modal .actions-row::after {
  display: none !important;
  background: transparent !important;
}

#silktide-modal .st-button,
#silktide-modal button {
  padding: 4px 10px !important;
  font-size: 0.8rem !important;
  border-radius: 6px !important;
}

/* Simple mobile scaling and centering for consent banner */
@media (max-width: 768px) {
  #silktide-modal {
    transform: scale(0.85) !important;
    transform-origin: center !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.85) !important;
  }
  
  #silktide-banner {
    transform: scale(0.9) !important;
    transform-origin: center !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.9) !important;
    width: 90% !important;
    max-width: 350px !important;
    min-width: 280px !important;
    bottom: auto !important;
  }
  
  #silktide-modal .st-button,
  #silktide-modal button {
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
  }
}
/**
 * Professional Construction Website Styles
 * Clean, modern, and easily customizable CSS
 * Bootstrap 5.3 Compatible
 */

/* ==========================================================================
   GLOBAL STYLES & VARIABLES
   ========================================================================== */

:root {
  /* Color Palette - Easy to customize */
  --primary-blue: #3498db;
  --primary-blue-dark: #2980b9;
  --dark-gray: #2c3e50;
  --light-gray: #f8f9fa;
  --text-muted: #6c757d;
  --success-green: #28a745;
  
  /* Typography */
  --font-family: 'Montserrat', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 5rem;
  --border-radius: 8px;
  --border-radius-large: 0.5rem;
}

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


/* Body & Typography */
body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.display-3, .display-5, .display-6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.lead {
  font-size: 1.15rem;
  font-weight: var(--font-weight-light);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: var(--font-weight-bold);
  font-size: 1.5rem;
  color: var(--dark-gray) !important;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: var(--font-weight-semibold);
  color: var(--dark-gray) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue) !important;
}

.navbar-toggler {
  border-color: var(--primary-blue) !important;
  background: var(--light-gray) !important;
  border-radius: 0.25rem !important;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(52,152,219, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* ==========================================================================
   HERO SECTION  
   ========================================================================== */

.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding-top: 76px; /* Compensate for fixed navbar height */
}

.hero-image {
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.6));
  z-index: 2;
  padding-top: 2rem; /* Additional top padding for better centering */
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Crimson Text', serif;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .hero-title {
    white-space: normal;
  }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.hero-buttons .btn {
  font-weight: var(--font-weight-semibold);
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Hero Banner Styles
   ========================================================================== */

.hero-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
  padding: 4rem 1rem;
  padding-top: calc(6rem + 76px); /* Increased top padding for better centering */
  padding-bottom: 6rem; /* Increased bottom padding for better centering */
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   CARDS & COMPONENTS
   ========================================================================== */
.feature-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
}

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

.service-card .card-img-top {
  transition: transform 0.3s ease;
}

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

/* Project Cards */
.project-card {
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.project-card .card-img-top {
  transition: transform 0.3s ease;
}

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

/* Card General Styles */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.card-img-top {
  object-fit: cover;
  border-radius: 0;
}

/* Portfolio placeholder image rounding */
.portfolio-card .card-img-top {
  border-radius: 8px;
}

/* Button Styles */
.btn {
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: #3498db;
  border-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: #3498db;
  border-color: #3498db;
}

.btn-outline-primary:hover {
  background-color: #3498db;
  border-color: #3498db;
  color: white;
  transform: translateY(-1px);
}

.btn-outline-light {
  color: white;
  border-color: white;
}

.btn-outline-light:hover {
  background-color: white;
  border-color: white;
  color: #3498db;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
}

.btn-light {
  background-color: white;
  color: #3498db;
  border-color: white;
}

.btn-light:hover {
  background-color: #f8f9fa;
  color: #2980b9;
  border-color: #f8f9fa;
}

/* Sections */
section {
  position: relative;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.bg-dark {
  background-color: #2c3e50 !important;
}

/* Utilities */
.text-muted {
  color: #6c757d !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.rounded-3 {
  border-radius: 0.5rem !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Bootstrap Icons */
.bi {
  font-size: 1.2rem;
}

.bi-check-circle-fill {
  color: #28a745;
}

/* Portfolio tabs (underline style) */
.nav-underline .nav-link {
  color: #2c3e50;
  border: none;
  background: transparent;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  position: relative;
}

.nav-underline .nav-link.active {
  color: #3498db;
}

.nav-underline .nav-link.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: #3498db;
  border-radius: 2px;
}

/* Remove default tab underline line */
.nav-tabs {
  border-bottom: none;
}

/* Links */
a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  color: #2980b9;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
}

footer a {
  color: #3498db;
  text-decoration: none;
}

footer a:hover {
  color: #5dade2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .feature-card, .service-card, .project-card {
    margin-bottom: 1.5rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}


/* Logo styles */
.navbar-brand img {
  height: 40px;
  width: auto;
}