/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
  --bg-black: #000000;
  --bg-dark: #0a0a0a;       /* Slightly lighter for sections */
  --bg-card: #111111;       /* Lighter for cards */
  --accent-blue: #0180d9;   /* Brand Primary */
  --glow-blue: #a7e3f5;     /* Accent/Text Glow */
  --text-white: #ffffff;
  --text-gray: #cccccc;
  --success-green: #81c31c; /* For success states */
  --border-color: #222222;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
  box-sizing: border-box; 
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { 
  text-decoration: none; 
  color: inherit; 
  transition: var(--transition); 
}

img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
}

ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

/* ==========================================================================
   2. TOP BAR (MODERNIZED - FAR EDGE ALIGNMENT)
   ========================================================================== */
.top-bar {
  background: #000;
  padding: 8px 40px; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
  max-width: 100%; 
  margin: 0;
  display: flex;
  justify-content: space-between; 
  align-items: center;
}

.phone-info {
  display: flex;
  gap: 2rem; 
}

.phone-info a {
  color: var(--glow-blue);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  font-size: 1.1rem;
}

.social-icons a {
  color: #888;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--glow-blue);
  transform: translateY(-2px);
}

/* THIN MOBILE TOP BAR */
@media (max-width: 768px) {
  .top-bar {
    padding: 5px 15px !important; /* Forces the thinness */
  }

  .top-bar-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  /* Target the new class to hide the email */
  .top-email {
    display: none !important;
  }

  .phone-info {
    gap: 0;
  }

  .phone-info a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .social-icons {
    font-size: 0.9rem;
    gap: 0.7rem;
  }
}
/* ==========================================================================
   3. HEADER & NAVIGATION (MODERNIZED)
   ========================================================================== */
header {
  background: #000;
  width: 100%;
  position: sticky; 
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background: rgba(0, 0, 0, 0.95);
  border-top: 2px solid var(--accent-blue);
  width: 100%;
}

.logo {
  height: 85px; 
  transition: transform 0.3s ease;
}

.logo:hover { transform: scale(1.02); }

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a, .dropdown-title {
  color: #efefef;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}

nav a:hover, .dropdown:hover .dropdown-title {
  color: var(--glow-blue);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* ==== DROPDOWNS (Glass-morphism) ==== */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  min-width: 220px;
  border: 1px solid rgba(167, 227, 245, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  padding: 12px 0;
  display: block; 
  z-index: 999;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  text-transform: none; 
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #bbb;
  border: none;
}

.dropdown-content a::after { display: none; } 

.dropdown-content a:hover {
  background: rgba(167, 227, 245, 0.05);
  color: var(--glow-blue);
  padding-left: 25px; 
}

/* ==========================================================================
   KEEPING MOBILE MENU & DROPDOWNS EXACTLY AS PROVIDED
   ========================================================================== */
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { height: 3px; width: 25px; background: white; margin: 4px 0; }

.mobile-nav {
  display: none; flex-direction: column; background: rgba(0, 0, 0, 0.9);
  position: absolute !important; top: 100%; left: 0; width: 100%; z-index: 9999 !important;
}

.mobile-nav a {
  padding: 1rem; color: white; border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

#mobile-menu {
  display: none; flex-direction: column; background: rgba(0, 0, 0, 0.95);
  position: absolute !important; top: 100%; left: 0; width: 100%; padding: 1rem 0; z-index: 9999 !important;
}

#mobile-menu.show { display: flex !important; }

.mobile-dropdown { display: flex; flex-direction: column; }

.mobile-dropdown-content {
  display: none; flex-direction: column; background: rgba(0, 0, 0, 0.85); align-items: center;
}

.mobile-dropdown-content a {
  display: block; width: 100%; padding: 0.5rem 0; text-align: center;
  font-size: 0.95rem; font-weight: normal; color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.2); box-sizing: border-box; margin: 0;
}

.mobile-nav a, .mobile-dropdown > a, .mobile-dropdown > span {
  display: block; width: 100%; padding: 0.5rem 0; margin: 0;
  text-align: center; font-size: 1rem; line-height: 1.2; font-weight: bold;
  color: white; border-top: 1px solid rgba(255, 255, 255, 0.2); box-sizing: border-box;
}

@media (max-width: 991px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.show { display: flex !important; }
  .dropdown-content { position: static; background: rgba(0, 0, 0, 0.85); visibility: visible; opacity: 1; transform: none; }
}
/* =========================================
   1. HERO SECTION
   ========================================= */
.hero {
  min-height: 500px; 
  padding: 3rem 1rem; 
  color: white; 
  text-align: center; 
  position: relative; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  gap: 3rem; 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-subtitle {
  color: #0180d9; 
  font-weight: bold; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  margin: 0; 
  position: relative; 
  z-index: 1; 
  font-size: 1.7rem;
}

.hero-title {
  position: relative; 
  z-index: 1; 
  margin: 0; 
  line-height: 1.2;
  font-size: 3rem;
}

.hero-description {
  font-weight: normal; 
  max-width: 800px; 
  margin: 0; 
  position: relative; 
  z-index: 1; 
  line-height: 1.4;
}

/* =========================================
   2. BUTTON PRIMARY
   ========================================= */
.btn-primary {
  display: inline-block; 
  background-color: #0180d9; /* Your primary blue */
  color: white; 
  padding: 0.7rem 1.75rem; /* Slightly larger for a modern feel */
  border-radius: 8px; 
  font-size: 1.1rem; 
  font-weight: 700; 
  text-decoration: none; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); 
  position: relative; 
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle top-edge light */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Professional easing */
  overflow: hidden;
}

/* Modern Hover Effects */
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02); /* "Lift" and slight grow */
  background-color: #0099ff; /* Brighter blue on hover */
  color: #fff;
  box-shadow: 0 8px 25px rgba(1, 128, 217, 0.5); /* Blue glow effect */
  border-color: rgba(255, 255, 255, 0.3);
}

/* The "Click" Effect */
.btn-primary:active {
  transform: translateY(0) scale(0.98); /* Snappy click feedback */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Subtle Shine Animation */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

/* Icon Styles */
.btn-sleek i {
  margin-left: 8px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn-sleek:hover i {
  transform: translateX(5px); 
}

/* Specific fix for Hero text alignment */
.hero .btn-sleek {
  margin-top: 2rem;
}

/* ==========================================================================
   11. JOBBER & CONTACT
   ========================================================================== */
.contact-section-wrapper {
  width: 100%;
  background-color: #000;
  padding: 4rem 1rem;
  border-top: 3px solid var(--accent-blue);
  border-bottom: 3px solid var(--accent-blue);
}

.contact-card-custom {
  max-width: 800px; 
  margin: 0 auto; 
  background: #111; 
  padding: 2.5rem; 
  color: white; 
  border-radius: 12px;
  border: 1px solid #333;
  transition: all 0.4s ease; 
}

.contact-card-custom:hover {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 35px rgba(1, 128, 217, 0.4);
  background: #161616 !important;
  transform: translateY(-3px);
}

.jobber-form-wrapper {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

/* Jobber Embed Overrides */
.jobber-form-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.jobber-embed-wrap {
  width: 100%;
}

#a0c14a97-b60d-4345-a833-30b5f1bbe80e-2030339 {
  width: 100% !important;
  max-width: 100% !important;
}

#a0c14a97-b60d-4345-a833-30b5f1bbe80e-2030339 iframe,
#a0c14a97-b60d-4345-a833-30b5f1bbe80e-2030339 > *,
#a0c14a97-b60d-4345-a833-30b5f1bbe80e-2030339 form {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   11. NEWSLETTER
   ========================================================================== */
.newsletter {
  background: var(--bg-card); padding: 60px 20px;
  border-top: 1px solid var(--accent-blue); text-align: center;
}
.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter input[type="email"] {
  width: 100%; padding: 15px; border-radius: 6px; border: 1px solid #333;
  background: #000; color: #fff; margin-bottom: 10px;
}
.newsletter .button {
  width: 100%; padding: 15px; background: var(--accent-blue); color: #fff;
  border: none; border-radius: 6px; font-weight: bold; cursor: pointer;
}
.newsletter .button:hover { background: var(--glow-blue); color: #000; }

/* ==========================================================================
   12. FOOTER (FIXED)
   ========================================================================== */
footer { 
  background: var(--bg-black); 
  padding: 60px 20px; 
  border-top: 1px solid var(--border-color); 
  width: 100%;
}

.footer-container { 
  max-width: 1200px; 
  margin: 0 auto; 
  display: flex; 
  flex-wrap: wrap; /* Allows columns to stack on mobile */
  justify-content: space-between; 
  gap: 40px; 
}

.footer-column { 
  flex: 1 1 200px; /* Ensures columns shrink/grow properly */
  min-width: 200px; 
}

/* Footer Logo Styling */
.footer-logo {
  max-width: 180px;      /* Restricts size so it's not too big */
  height: auto;
  display: block;        /* Necessary for margin auto to work */
  margin: 0 auto 20px auto; /* Centers the logo and adds bottom spacing */
}

.footer-column h3 { 
  color: var(--glow-blue); 
  margin-bottom: 20px; 
  font-size: 1.2rem; 
  text-transform: uppercase;
}

.footer-column p {
  color: var(--text-gray);
  line-height: 1.6;
  text-align: center;    /* Keeps text aligned with the centered logo */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li { 
  margin-bottom: 10px; 
  color: var(--text-gray); 
}

.footer-column ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--accent-blue);
}

/* Social Links in Footer */
.footer-socials {
  display: flex;
  gap: 15px;
  justify-content: center; /* Centers social icons under logo/text */
  margin-top: 20px;
}

.footer-socials a {
  color: var(--text-gray);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: var(--primary-blue);
}

/* Footer Bottom Bar */
.footer-bottom { 
  text-align: center; 
  margin-top: 40px; 
  padding-top: 20px;
  border-top: 1px solid #222;
  color: #555; 
  font-size: 0.9rem; 
  width: 100%;
}

/* Responsive Tweak */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center; /* Centers everything on mobile */
  }
  
  .footer-column h3 {
    margin-top: 20px;
  }
}
/* ==========================================================================
   13. RESPONSIVE UTILITIES
   ========================================================================== */
@media (max-width: 992px) {
  .row-container, .row-reverse { flex-direction: column; text-align: center; gap: 40px; }
  .check-list li { text-align: left; display: inline-block; margin-right: 20px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.5rem; }
  .top-bar-container { flex-direction: column; gap: 10px; }
  .check-list li { display: block; margin-right: 0; }
}