/* ==========================================================================
   Star Builders & Fire System - Premium Stylesheet
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --primary-color: #0F1629;
  --primary-dark: #080D1A;
  --primary-light: #1A243F;
  --accent-color: #FF6B00;
  --accent-light: #FF8C00;
  --accent-dark: #E65A00;
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  
  /* Text Colors */
  --text-main: #FFFFFF;
  --text-muted: #A0ABCC;
  --text-dark: #080D1A;
  
  /* Backgrounds */
  --bg-dark: #080D1A;
  --bg-darker: #050811;
  --bg-card: rgba(26, 36, 63, 0.4);
  --bg-card-hover: rgba(30, 42, 75, 0.6);
  --glass-bg: rgba(15, 22, 41, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 100px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.3);
  --shadow-glow-strong: 0 0 30px rgba(255, 107, 0, 0.5);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loaded {
  /* Class added when preloader finishes */
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--accent-light);
}

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

ul {
  list-style: none;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* ==========================================================================
   Global Utilities
   ========================================================================== */
.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section-bg-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Section Headings */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-label.center {
  display: flex;
  justify-content: center;
}

.label-line {
  width: 40px;
  height: 2px;
  background: var(--accent-gradient);
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 40px;
}

/* Gradient Text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Buttons */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent-gradient);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-glow);
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
  z-index: -1;
  transition: opacity var(--transition-normal);
  opacity: 0;
}

.btn-primary-custom:hover::before {
  opacity: 1;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-strong);
}

.btn-primary-custom.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  background: transparent;
  color: var(--accent-color) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--accent-color);
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-outline-custom:hover {
  background: var(--accent-color);
  color: #fff !important;
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  background: transparent;
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-outline-light-custom:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-outline-light-custom.btn-lg {
  padding: 14px 34px;
  font-size: 1rem;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-darker);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-gear {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  animation: spin 3s linear infinite;
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 4px;
  animation: loadBar 2s ease-in-out infinite;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition-normal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  padding: 15px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo {
  height: 100px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.navbar-toggler {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
  z-index: 1001;
}

.toggler-line {
  width: 30px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-normal);
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  margin-left: 30px;
}


/*==============================
ADMIN LOGIN BUTTON
==============================*/

.admin-login-btn{
    display:none;
    align-items:center;
    gap:8px;

    padding:12px 22px;

    border-radius:50px;

    text-decoration:none;

    background:#ffffff;

    color:#0A192F;

    font-weight:600;

    transition:.4s;

    border:2px solid transparent;
}

.admin-login-btn i{
    font-size:18px;
}

.admin-login-btn:hover{

    background:#ff7a00;

    color:#fff;

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(255,122,0,.35);

}



/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* For parallax */
  background-image: url('../img/hero-bg.jpg'); /* Placeholder */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(1.08) saturate(1.05);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(8, 13, 26, 0.48),
    rgba(8, 13, 26, 0.68)
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 30px;
  color: var(--accent-color);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.hero-typed-wrapper {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 30px;
  min-height: 4.5rem;
}

.typed-prefix {
  color: var(--text-main);
}

.typed-text {
  color: var(--accent-color);
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.typed-cursor {
  color: var(--accent-color);
  animation: blink 1s infinite;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 2px;
  margin-top: 6px;
  animation: scrollWheel 2s infinite;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  position: relative;
  background-color: var(--bg-darker);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.stat-item:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.stat-item:hover .stat-icon {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background-color: var(--bg-dark);
  overflow: hidden;
}

.about-section .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.about-image-wrapper {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-main-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-img-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color);
  border-radius: 20px;
  z-index: 1;
}

.about-experience-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: var(--accent-gradient);
  padding: 25px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-glow-strong);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.exp-number {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.exp-text {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-feature-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  background: rgba(255, 107, 0, 0.1);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-item span {
  font-weight: 500;
  color: var(--text-main);
}

.about-founder {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.founder-info {
  flex: 1;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-main);
  margin: 0;
}

.founder-title {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin: 0;
}

.founder-signature {
  font-family: 'Brush Script MT', cursive;
  font-size: 2rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  background-color: var(--bg-darker);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255,107,0,0.1), transparent 50%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  margin-bottom: 25px;
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  text-shadow: var(--shadow-glow);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.service-link i {
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-section {
  background-color: var(--bg-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.project-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 13, 26, 0.9) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition-normal);
}

/* .project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 107, 0, 0.8);
  z-index: 1;
  opacity: 0;
  transition: var(--transition-normal);
} */

.project-card::before {
    display: none;
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-category {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
}

.project-card-large .project-title {
  font-size: 2rem;
}

.project-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease 0.3s;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #fff;
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 1.2rem;
  transform: translateY(20px) scale(0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
}

/* .project-card:hover::before {
  opacity: 0.9;
} */

/* .project-card:hover .project-overlay {
  background: transparent;
} */

.project-card:hover .project-overlay {
    background: linear-gradient(
        to top,
        rgba(8, 13, 26, 0.9),
        transparent
    );
}

.project-card:hover .project-category,
.project-card:hover .project-title {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .project-desc {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .project-link {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.project-link:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ==========================================================================
   Job Work Section
   ========================================================================== */
.jobwork-section {
  background-color: var(--bg-darker);
}

.jobwork-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 15px;
}

.jobwork-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--glass-border);
}

.jobwork-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.jobwork-item:nth-child(even) {
  justify-content: flex-start;
}

.jobwork-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 0 0 8px var(--bg-darker), var(--shadow-glow);
  z-index: 2;
}

.jobwork-content {
  width: calc(50% - 50px);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 30px;
  border-radius: 15px;
  position: relative;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.jobwork-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border-style: solid;
}

.jobwork-item:nth-child(odd) .jobwork-content::before {
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent var(--glass-border) transparent transparent;
}

.jobwork-item:nth-child(even) .jobwork-content::before {
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent var(--glass-border);
}

.jobwork-item:hover .jobwork-content {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.jobwork-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.jobwork-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.jobwork-tags span {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.whyus-section {
  background-color: var(--bg-dark);
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.whyus-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px 25px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition-normal);
}

.whyus-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 107, 0, 0.05);
  border-color: rgba(255, 107, 0, 0.3);
}

.whyus-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent-color);
  transition: var(--transition-normal);
}

.whyus-card:hover .whyus-icon {
  background: var(--accent-gradient);
  color: #fff;
  transform: scale(1.1) rotateY(180deg);
}

.whyus-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.whyus-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-darker);
  overflow: hidden;
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  text-align: center;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.author-info h5 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-color);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 45px;
  height: 45px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-normal);
}

.testimonial-dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  position: relative;
  background: var(--accent-gradient);
  padding: 80px 0;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.cta-title {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark);
}

.contact-container {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-form-wrapper {
  flex: 1.5;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 20px;
}

.contact-form-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-error {
  color: #ff4d4d;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-success-message {
  display: none;
  padding: 15px;
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid #2ed573;
  color: #2ed573;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-info-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 20px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--text-muted);
  margin: 0;
}

.contact-map {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  min-height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) grayscale(100%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding-top: 80px;
}

/* .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 60px;
} */

.footer-top{
    padding:70px 0 50px;
}

.footer-brand {
  /* margin-bottom: 20px; */
   padding-right:30px;
}

/* .footer-logo {
  height: 40px;
  margin-bottom: 15px;
} */

.footer-logo{
    width:90px;
    height:auto;
    margin-bottom:20px;
    display:block;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.footer-desc {
  color: var(--text-muted);
  margin-bottom: 25px;
  /* max-width: 300px; */
  max-width:100%;
  line-height:1.8;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-normal);
}

.footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

/* .footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
} */

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

.footer-links ul li{
    margin-bottom:14px;
}

/* .footer-links ul li a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
} */

.footer-links ul li a{
    display:flex;
    align-items:center;
    color:var(--text-muted);
    text-decoration:none;
    transition:.3s;
}

.footer-links ul li a::before {
  /* content: '\f105';
  font-family: 'Font Awesome 5 Free'; */
  font-weight: 900;
  color: var(--accent-color);
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-contact-item i {
  color: var(--accent-color);
  margin-top: 5px;
}

.footer-bottom {
  background: #000;
  padding: 25px 0;
}

.footer-bottom .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
}

.footer-credits {
  margin: 0;
  font-size: 0.9rem;
}

.footer-credits a {
  font-weight: 600;
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-glow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 99;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.1);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.fadeIn {
  animation: fadeInAnim 1s ease forwards;
}

.slideUp {
  transform: translateY(50px);
  animation: slideUpAnim 0.8s ease forwards;
}

.slideLeft {
  transform: translateX(-50px);
  animation: slideLeftAnim 0.8s ease forwards;
}

.slideRight {
  transform: translateX(50px);
  animation: slideRightAnim 0.8s ease forwards;
}

.zoomIn {
  transform: scale(0.8);
  animation: zoomInAnim 0.8s ease forwards;
}

@keyframes fadeInAnim {
  to { opacity: 1; }
}

@keyframes slideUpAnim {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeftAnim {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightAnim {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomInAnim {
  to { opacity: 1; transform: scale(1); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes loadBar {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; transform: translateX(200px); }
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .section-padding { padding-top: 80px; padding-bottom: 80px; }
  .section-title { font-size: 2rem; }
  
  /* Navbar */
  .navbar-toggler { display: flex; }
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 80px 30px;
    transition: 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  .navbar-collapse.show { right: 0; }
  .navbar-nav { flex-direction: column; width: 100%; align-items: flex-start; gap: 20px; }
  .nav-cta-btn { margin-left: 0; margin-top: 20px; width: 100%; }
  
  /* Sections */
  .hero-title { font-size: 3rem; }
  .hero-typed-wrapper { font-size: 2.5rem; min-height: 3.5rem; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card-large { grid-column: span 1; grid-row: span 1; }
.whyus-grid { grid-template-columns: repeat(2, 1fr); }
  
  .contact-container { flex-direction: column; }
  .contact-map { min-height: 400px; }
  
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .section-padding { padding-top: 60px; padding-bottom: 60px; }
  
  .hero-title { font-size: 2.2rem; }
  .hero-typed-wrapper { font-size: 1.8rem; min-height: 2.5rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn-primary-custom, .hero-btns .btn-outline-light-custom { width: 100%; }
  
  .stats-grid { grid-template-columns: 1fr; }
  
  .services-grid { grid-template-columns: 1fr; }
  
  .projects-grid { grid-template-columns: 1fr; }
  
  .whyus-grid { grid-template-columns: 1fr; }
  
  .cta-title { font-size: 2rem; }
  .cta-btns { flex-direction: column; }
  
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 15px; text-align: center; }
  
  .whatsapp-float { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
  .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 1rem; }
}

/* Small mobile (max-width: 575px) */
@media (max-width: 575px) {
  .about-experience-badge { right: 0; bottom: -20px; padding: 15px; }
  .exp-number { font-size: 2rem; }
  .contact-form-wrapper { padding: 30px 20px; }
  .testimonial-card { padding: 30px 20px; }
}


@media(max-width:991px){

.admin-login-btn{

    width:100%;

    justify-content:center;

    margin-bottom:12px;

}

.nav-cta-btn{

    width:100%;

    justify-content:center;

}

}
/* ==========================================================================
   Multi-page additions
   ========================================================================== */
.inner-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,107,0,.08), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(255,140,0,.05), transparent 28%),
    var(--bg-dark);
}
.page-hero {
  padding: 170px 0 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(8,13,26,.96), rgba(15,22,41,.92)),
              url('../images/hero-banner.jpg') center/cover;
}
.page-hero::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(5,8,17,.92), rgba(5,8,17,.45));
  pointer-events:none;
}
.page-hero .container { position:relative; z-index:1; }
.page-kicker { color:var(--accent-color); text-transform:uppercase; letter-spacing:2px; font-weight:700; font-size:.85rem; }
.page-title { font-size:clamp(2.5rem,6vw,5rem); margin:12px 0 18px; }
.page-subtitle { max-width:760px; font-size:1.05rem; }
.page-section { padding:90px 0; }
.page-card {
  height:100%; background:var(--bg-card); border:1px solid var(--glass-border);
  border-radius:22px; padding:32px; box-shadow:var(--shadow-md);
  transition:var(--transition-normal);
}
.page-card:hover { transform:translateY(-6px); background:var(--bg-card-hover); box-shadow:var(--shadow-glow); }
.page-icon {
  width:58px;height:58px;border-radius:16px;display:flex;align-items:center;justify-content:center;
  background:var(--accent-gradient);color:#fff;font-size:1.5rem;margin-bottom:20px;
}
.page-image { width:100%; height:420px; object-fit:cover; border-radius:24px; border:1px solid var(--glass-border); }
.project-page-card { overflow:hidden; padding:0; }
.project-page-card img { width:100%; height:240px; object-fit:cover; transition:transform .5s ease; }
.project-page-card:hover img { transform:scale(1.05); }
.project-page-content { padding:25px; }
.contact-info-card { display:flex; gap:18px; align-items:flex-start; }
.contact-info-card .page-icon { flex:0 0 54px; width:54px;height:54px; margin:0; }
.contact-form {
  background:var(--bg-card); border:1px solid var(--glass-border); border-radius:24px; padding:35px;
}
.contact-form .form-control, .contact-form .form-select {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12); color:#fff;
  padding:13px 15px; border-radius:12px;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  background:rgba(255,255,255,.06); color:#fff; border-color:var(--accent-color);
  box-shadow:0 0 0 .2rem rgba(255,107,0,.12);
}
.contact-form .form-control::placeholder { color:#7f89a8; }
.contact-form .form-select option { color:#111; }
.page-footer { padding:45px 0; border-top:1px solid var(--glass-border); background:var(--bg-darker); }
.breadcrumb-custom { margin-bottom:0; }
.breadcrumb-custom a { color:var(--accent-color); }
@media (max-width: 991px) {
  .page-hero { padding:145px 0 70px; }
  .page-section { padding:65px 0; }
  .page-image { height:330px; }
}


/* ============================================================
   MULTI-PAGE SERVICES
   ============================================================ */
.service-card-clickable {
    cursor: pointer;
    position: relative;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.service-card-clickable:hover,
.service-card-clickable:focus-visible {
    transform: translateY(-8px);
    outline: none;
}
.service-card-clickable:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 193, 7, .35);
}
.service-directory-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.service-page-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.service-page-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,193,7,.45);
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
    background: rgba(255,255,255,.055);
}
.service-page-card h3 {
    margin: 1.25rem 0 .65rem;
    color: #fff;
    font-weight: 700;
}
.service-page-card p {
    color: rgba(255,255,255,.68);
    min-height: 52px;
}
.service-page-card > span {
    color: #ffc107;
    font-weight: 700;
}
.service-page-card > span i { transition: transform .25s ease; }
.service-page-card:hover > span i { transform: translateX(5px); }

.service-detail-hero { padding-bottom: 80px; }
.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.service-back-link:hover { color: #ffc107; }
.service-detail-icon {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(255,193,7,.12);
    border: 1px solid rgba(255,193,7,.3);
    color: #ffc107;
    font-size: 2.2rem;
}
.service-detail-image-wrap {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.service-detail-image {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}
.service-detail-description {
    color: rgba(255,255,255,.72);
    line-height: 1.9;
    font-size: 1.04rem;
}
.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: .75rem;
}
.service-feature-list li {
    display: flex;
    gap: .75rem;
    align-items: center;
    color: rgba(255,255,255,.85);
}
.service-feature-list i { color: #ffc107; }
.service-process-section { background: rgba(255,255,255,.025); }
.service-process-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.12);
}
.service-process-item > span {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,193,7,.12);
    color: #ffc107;
    font-weight: 800;
}
.service-process-item strong { color: #fff; }
.service-process-item p {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.55);
    font-size: .9rem;
}
.related-service-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 92px;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.related-service-card:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(255,193,7,.4);
    background: rgba(255,255,255,.06);
}
.related-service-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ffc107;
    background: rgba(255,193,7,.1);
}
.related-service-card strong { display: block; font-size: .95rem; }
.related-service-card small { display: block; margin-top: .15rem; color: rgba(255,255,255,.5); }

@media (max-width: 767px) {
    .service-detail-image { height: 300px; }
    .service-page-card { padding: 1.5rem; }
}

/* =========================================================
   UPDATED STAR BUILDERS LOGO + SERVICE/PROJECT ACTIONS
   ========================================================= */
.navbar-brand {
  gap: 10px;
}
.nav-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}
/* The supplied logo already contains the complete Star Builders branding. */
.navbar-brand .brand-text {
  display: none;
}
.service-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.service-action-buttons .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.projects-filter-note {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 193, 7, .35);
  background: rgba(255, 193, 7, .08);
  border-radius: 999px;
  color: var(--text-muted);
}
.projects-filter-note i { color: #ffc107; font-size: 1.1rem; }
.project-image-wrap {
  position: relative;
  overflow: hidden;
}
.project-image-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.project-category-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(10, 25, 47, .88);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.project-result-card {
  overflow: hidden;
}
.project-result-card .project-page-content {
  padding: 24px;
}
@media (max-width: 991.98px) {
  .nav-logo { width: 100px; height: 100px; }
}
@media (max-width: 575.98px) {
  .nav-logo { width: 100px; height: 100px; }
  .service-action-buttons { flex-direction: column; align-items: stretch; }
  .service-action-buttons .btn { width: 100%; }
  .projects-filter-note { border-radius: 16px; }
}

/* =========================================================
   PROJECT DIRECTORY + LEADERSHIP DETAILS
   ========================================================= */
.projects-results-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255,255,255,.62);
  font-size: .92rem;
}
.projects-results-meta #projectsResultCount {
  color: #ffc107;
  font-weight: 700;
}
.projects-results-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.project-mini-details {
  display: grid;
  gap: 8px;
  margin: 4px 0 22px;
}
.project-mini-details span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,.64);
  font-size: .88rem;
  line-height: 1.45;
}
.project-mini-details i { color: #ffc107; margin-top: 2px; }
.project-result-card .btn-primary-custom {
  width: 100%;
  text-align: center;
}
.project-detail-main-image img { height: 500px; }
.project-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.project-detail-meta > div {
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.project-detail-meta span,
.project-detail-meta strong { display:block; }
.project-detail-meta span {
  color: rgba(255,255,255,.45);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.project-detail-meta strong { color:#fff; font-size:.9rem; }
.project-highlights-section { background: rgba(255,255,255,.025); }
.project-highlight-item {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 100%;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.project-highlight-item > span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,193,7,.1);
  color:#ffc107;
  font-weight:800;
}
.project-highlight-item strong { display:block; color:#fff; }
.project-highlight-item small { display:block; margin-top:4px; color:rgba(255,255,255,.46); }
.leadership-section {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.035));
}
.leadership-photo-card {
  position: relative;
  max-width: 330px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,193,7,.5), rgba(255,107,0,.16));
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}
.leadership-photo-card.compact { max-width: 280px; }
.leadership-photo {
  position: relative;
  z-index: 2;
  display:block;
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  object-position:center;
  border-radius:22px;
  background:#0b1020;
}
.leadership-photo-glow {
  position:absolute;
  inset:18% -12% -12% 18%;
  background: radial-gradient(circle, rgba(255,193,7,.22), transparent 65%);
  filter: blur(24px);
}
.leadership-copy {
  color: rgba(255,255,255,.68);
  line-height:1.85;
  max-width: 760px;
}
.leadership-role-card {
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 18px;
  margin-top:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
}
.leadership-role-icon {
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,193,7,.1);
  color:#ffc107;
  font-size:1.2rem;
}
.leadership-role-card strong,
.leadership-role-card span { display:block; }
.leadership-role-card strong { color:#fff; }
.leadership-role-card span { color:rgba(255,255,255,.5); font-size:.88rem; margin-top:3px; }


/* Related project gallery + About leadership */
.project-gallery-trigger {
  display:block; width:100%; padding:0; border:0; background:transparent; text-align:left; position:relative; cursor:pointer;
}
.project-gallery-trigger:focus-visible, .project-view-btn:focus-visible { outline:3px solid #ffc107; outline-offset:3px; border-radius:14px; }
.project-gallery-trigger .project-image-wrap { position:relative; overflow:hidden; border-radius:18px 18px 0 0; }
.project-gallery-trigger img { transition:transform .45s ease, filter .45s ease; }
.project-gallery-trigger:hover img { transform:scale(1.045); filter:brightness(.78); }
.project-gallery-overlay {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:8px;
  background:rgba(5,8,17,.48); color:#fff; font-weight:800; letter-spacing:.4px; opacity:0; transition:opacity .3s ease;
}
.project-gallery-trigger:hover .project-gallery-overlay { opacity:1; }
.project-view-btn { border:0; cursor:pointer; }
.service-project-modal .modal-content { background:#202428 !important; box-shadow:0 30px 90px rgba(0,0,0,.55); }
.service-project-modal .modal-body { padding:18px; }
.related-main-image { background:#0a0d14; border-radius:14px; padding:0; overflow:hidden; }
.related-main-image img { width:100%; max-height:470px; object-fit:cover; display:block; }
.related-project-specs { background:#050505; border:1px solid rgba(255,255,255,.24); }
.related-thumb-btn { width:96px; height:68px; padding:3px; border:1px solid rgba(255,255,255,.25); border-radius:8px; background:#111; flex:0 0 auto; cursor:pointer; }
.related-thumb-btn img { width:100%; height:100%; object-fit:cover; border-radius:5px; }
.related-thumb-btn.active { border-color:#ffc107; box-shadow:0 0 0 2px rgba(255,193,7,.22); }
.leadership-person-card {
  display:flex; align-items:center; gap:14px; padding:16px 18px; margin-top:14px; border-radius:16px;
  border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.035);
}
.leadership-person-card strong, .leadership-person-card span, .leadership-person-card small { display:block; }
.leadership-person-card strong { color:#fff; font-size:1.05rem; }
.leadership-person-card span { color:#ff7a00; font-weight:700; margin-top:2px; }
.leadership-person-card small { color:rgba(255,255,255,.52); margin-top:3px; }

@media (max-width: 767.98px) {
  .project-detail-main-image img { height: 310px; }
  .project-detail-meta { grid-template-columns: 1fr; }
  .projects-results-meta { flex-wrap: wrap; }
}


/* Contact page Google Maps */
.contact-google-map {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: #11182b;
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.contact-google-map iframe {
    display: block;
    min-height: 420px;
}
@media (max-width: 767.98px) {
    .contact-google-map iframe {
        min-height: 320px;
    }
}


/* Image-only related project gallery */
.project-photo-only-card {
    position: relative;
    display: block;
    padding: 0;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    overflow: hidden;
    background: #11182b;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.project-photo-only-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.project-photo-only-card:hover img,
.project-photo-only-card:focus-visible img {
    transform: scale(1.05);
}
.project-photo-only-overlay {
    position: absolute;
    inset: auto 14px 14px auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(8, 13, 28, .82);
    color: #ffb300;
    font-size: 1.1rem;
}
.project-photo-only-card:focus-visible {
    outline: 2px solid #ffb300;
    outline-offset: 3px;
}
#relatedProjectModal .related-main-image img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}
#relatedProjectModal .related-main-image {
    background: #0b1020;
    border-radius: 16px;
    padding: 8px;
}

/* Fix home contact information layout */
.contact-info-wrapper > .contact-info-card {
  display: block;
  padding: 28px 26px;
}
.contact-info-wrapper > .contact-info-card .contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}
.contact-info-wrapper > .contact-info-card .contact-info-item:last-child {
  margin-bottom: 0;
}
.contact-info-wrapper > .contact-info-card .contact-details {
  min-width: 0;
}
.contact-info-wrapper > .contact-info-card .contact-details p,
.contact-info-wrapper > .contact-info-card .contact-details a {
  overflow-wrap: anywhere;
}
@media (max-width: 991.98px) {
  .contact-info-wrapper > .contact-info-card {
    padding: 24px 22px;
  }
}


/* Direct service related-project photo gallery */
.service-related-gallery-modal .modal-content {
  background: #11182b !important;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.service-related-gallery-modal .modal-body {
  padding: 20px;
}
.service-related-gallery-main {
  background: #080d18;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
}
.service-related-gallery-main img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}
.service-related-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}
.service-related-gallery-thumb {
  flex: 0 0 104px;
  width: 104px;
  height: 74px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  background: #0b1020;
  cursor: pointer;
}
.service-related-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.service-related-gallery-thumb.active {
  border-color: #ffc107;
  box-shadow: 0 0 0 2px rgba(255,193,7,.18);
}
@media (max-width: 575.98px) {
  .service-related-gallery-modal .modal-body { padding: 12px; }
  .service-related-gallery-thumb { flex-basis: 82px; width: 82px; height: 60px; }
}

/* ==========================================================================
   CTA visibility fix
   ========================================================================== */
.cta-section {
  overflow: hidden;
}
.cta-section .cta-overlay {
  background-color: rgba(5, 8, 17, 0.08);
  background-blend-mode: multiply;
}

/* Services-page CTA uses the orange banner, so all text must have strong contrast. */
.cta-section .section-label {
  color: #111827;
  position: relative;
  z-index: 2;
}
.cta-section .section-label .label-line {
  background: rgba(17, 24, 39, 0.55);
}
.cta-section .section-title {
  color: #ffffff;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.cta-section .section-title .gradient-text {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #111827;
  color: #111827;
  font-weight: 800;
}
.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.98);
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}
.cta-section .btn {
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767px) {
  .cta-section {
    padding: 65px 0;
  }
  .cta-section .section-title {
    font-size: 2rem;
  }
  .cta-section .section-subtitle {
    font-size: 1rem;
  }
}

