* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  text-decoration: none;
}

.logo a span {
  color: #ff0000;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #555555;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}

/* Styling for the current active page link */
.nav-links a.active {
  color: #ff0000 !important;
  font-weight: 700;
}

/* ==========================================================================
   PURE CSS ACTIVE PAGE HIGHLIGHTING
   ========================================================================== */

/* If body is home, highlight home link */
.page-home .nav-home,

/* If body is computer repair, highlight repair link & parent services dropdown */
.page-repair .nav-repair,
.page-repair .nav-services,

/* If body is phone repair, highlight phone link & parent services dropdown */
.page-phone .nav-phone,
.page-phone .nav-services,

/* If body is managed-it, highlight IT link & parent services dropdown */
.page-it .nav-it,
.page-it .nav-services,

.page-data-recovery .nav-data-recovery,
.page-data-recovery .nav-services,

/* If body is about, highlight about link */
.page-about .nav-about {
  color: #ff0000 !important;
  font-weight: 700;
}


/* ==========================================================================
   DROPDOWN MENU STYLES (Desktop and Shared)
   ========================================================================== */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  display: none !important; 
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 0.5rem 0;
  
  /* FIXED DISAPPEARING ISSUE: Replaced margin-top with padding-top inside an 
     invisible container bridge so the mouse never registers leaving the menu */
  border-top: 10px solid transparent; 
  background-clip: padding-box; 
}

.dropdown-menu li {
  width: 100%;
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #f1f1f1;
  color: #007bff;
}

/* Desktop Hover triggers */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block !important;
  }
  .dropdown:hover .arrow {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   BUTTONS & TOGGLES
   ========================================================================== */
.btn-large {
  background-color: #ff0000;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-large:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333333;
  transition: all 0.3s ease;
}

/* ==========================================================================
   MOBILE MEDIA QUERY
   ========================================================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    order: 2;
  }

  /* Hamburger to 'X' animation */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Reposition container links as full width drawer layout */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
  }

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

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  /* Mobile Dropdown Layout Specifics */
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background-color: #fdfdfd;
    padding-left: 1rem;
    border-top: none;
    width: 100%;
  }

  .dropdown.active .dropdown-menu {
    display: block !important;
  }

  .dropdown.active .arrow {
    transform: rotate(180deg);
  }

  /* Hide header native action button on mobile screens to save space
  .action-btn {
    display: none;
  }*/
  
  .action-btn {
    display: block;
    order: 1;
    margin-left: auto; /* Pushes the button right, next to the hamburger */
    margin-right: 1rem; /* Adds breathing room before the hamburger icon */
  }

  .btn-large {
    padding: 0.5rem 1rem; /* Slightly smaller so it fits nicely on narrow phones */
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   HERO IMAGE & TEXT CONTENT SECTION
   ========================================================================== */
.hero-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 5%;
}

.hero-image-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.hero-content {
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2rem;
  color: #333333;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.6;
}

/* Responsive tweaks for the text container */
@media (max-width: 768px) {
  .hero-container {
    margin: 1rem auto;
  }
  
  .hero-content {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* ==========================================================================
   BULLETED LIST SECTION STYLES
   ========================================================================== */
.benefits-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 5%;
}

.benefits-container h2 {
  font-size: 1.75rem;
  color: #333333;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.custom-bullet-list {
  list-style: none; /* Removing default bullet icons */
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.custom-bullet-list li {
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.5;
  position: relative;
  padding-left: 1.75rem; /* Space for custom bullet accent icon */
}

/* Creating an attractive, custom red square accent marker */
.custom-bullet-list li::before {
  content: "■"; 
  position: absolute;
  left: 0;
  top: 0;
  color: #ff0000; /* Matching logo styling color specs */
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .benefits-container {
    margin: 2rem auto;
  }

  .benefits-container h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .custom-bullet-list li {
    font-size: 1rem;
  }
}

/* ==========================================================================
   TWO-COLUMN TEXT ROW STYLES
   ========================================================================== */
.dual-column-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 5%;
  display: flex;
  gap: 3rem; /* Creates clean spacing between the two columns */
}

.text-column {
  flex: 1; /* Ensures both text columns occupy exactly equal width */
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.text-column h3 {
  font-size: 1.4rem;
  color: #333333;
  margin-bottom: 1rem;
  font-weight: 700;
  border-left: 4px solid #ff0000; /* Red accent border to match your brand */
  padding-left: 0.75rem;
}

.text-column p {
  font-size: 1.05rem;
  color: #666666;
  line-height: 1.6;
}

/* Mobile responsive override */
@media (max-width: 768px) {
  .dual-column-container {
    flex-direction: column; /* Stacks columns vertically on smaller screens */
    gap: 1.5rem;
    margin: 2rem auto;
  }
  
  .text-column {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   COLUMN SPECIFIC BULLET LIST
   ========================================================================== */
.column-bullet-list {
  list-style: none; /* Removes browser defaults */
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.column-bullet-list li {
  font-size: 1.05rem;
  color: #666666;
  line-height: 1.5;
  position: relative;
  padding-left: 1.5rem; /* Space for the custom layout marker */
}

/* Subtle dark grey dot indicator matching the body text hierarchy */
.column-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #333333;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

/* ==========================================================================
   SIDE-BY-SIDE IMAGE AND TEXT ROW STYLES
   ========================================================================== */
.split-feature-container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 5%;
  display: flex;
  align-items: center; /* Vertically aligns image and text centers */
  gap: 4rem; /* Generous spacing gap between columns */
}

.feature-image-block,
.feature-text-block {
  flex: 1; /* Assigns equal width to both columns */
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.feature-text-block h2 {
  font-size: 1.8rem;
  color: #333333;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.feature-text-block p {
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-text-block p:last-child {
  margin-bottom: 0; /* Clears remaining gap margin at bottom */
}

/* Mobile responsive override */
@media (max-width: 768px) {
  .split-feature-container {
    flex-direction: column; /* Stacks text and image blocks elements vertically */
    gap: 2rem;
    margin: 3rem auto;
  }
}

/* ==========================================================================
   CONTACT US SECTION STYLES
   ========================================================================== */
.contact-section {
  background-color: #ffffff;
  padding: 4rem 0;
  border-top: 1px solid #eeeeee;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.contact-container h2 {
  font-size: 2rem;
  color: #333333;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-align: center;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #666666;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-grid {
  display: flex;
  gap: 4rem;
}

/* Info & Hours Panel */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #ff0000; /* Custom red accent */
}

.info-card h3 {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.info-card p {
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Hours List Layout styling */
.hours-list {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between; /* Pushes days to left, hours to right */
  padding: 0.4rem 0;
  border-bottom: 1px dashed #dddddd;
  font-size: 1rem;
  color: #555555;
}

.hours-list li:last-child {
  border-bottom: none;
}

.closed-tag {
  color: #cc0000;
  font-weight: 600;
}

/* Form Panel */
.contact-form-container {
  flex: 1.3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
}

.contact-form button {
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0;
  }
  
  .contact-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .contact-subtitle {
    margin-bottom: 2rem;
  }
  
  .contact-form button {
    width: 100%;
    text-align: center;
  }
}

/* Prevents button clicks while JS is sending data */
.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Status Banner controlled by JavaScript */
.form-status {
  display: none;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.form-status.success {
  display: block;
  background-color: #f0fdf4;
  color: #166534;
  border-left: 4px solid #22c55e;
}

.form-status.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ff0000;
}

/* Prevents hCaptcha from overflowing tiny mobile screens */
.h-captcha {
  max-width: 100%;
  overflow-x: auto;
}


/* ==========================================================================
   SOCIAL MEDIA FOOTER STYLES
   ========================================================================== */
.social-footer {
  background-color: #111111;
  color: #ffffff;
  padding: 2rem 0;
  border-top: 3px solid #ff0000; /* Red accent matching your brand */
}

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

.social-container p {
  font-size: 0.95rem;
  color: #aaaaaa;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: #222222;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.icon-sym {
  font-size: 1.1rem;
}

/* Specific Platform Hover States */
.social-icon.fb:hover {
  background-color: #1877f2; /* Official Facebook Blue */
  transform: translateY(-2px);
}

.social-icon.ig:hover {
  background-color: #e1306c; /* Official Instagram Pink/Red */
  transform: translateY(-2px);
}

/* Mobile responsive fallback layout */
@media (max-width: 768px) {
  .social-container {
    flex-direction: column-reverse; /* Stacks links safely on top of text on mobile screens */
    gap: 1.5rem;
    text-align: center;
  }

  .social-links {
    width: 100%;
    justify-content: center;
  }
}

