/* ------------------------------
/home/marllinu/fixdigitalph.com/public_html/assets/css/style.css
   FixDigitalPH - Premium Style
------------------------------- */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.035);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  width: 174px;
  height: auto;
}
.nav-desktop {
  display: flex;
  gap: 2rem;
}
.nav-desktop a {
  font-weight: 500;
  color: #111111;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}
.nav-desktop a:hover::after {
  width: 100%;
}

/* Button */
.btn-primary {
  background: #0056b3; /* darker blue */
  color: #ffffff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background: #004494;
  transform: scale(1.03);
}


/* Mobile Nav */
.nav-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #f5f7fa;
  border-top: 1px solid #e0e0e0;
}
.nav-mobile a {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  color: #111111;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  body.menu-open .nav-mobile {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 5rem 0;
  background: #f5f7fa;
}
.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.hero-text {
  flex: 1;
  min-width: 300px;
}
.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.1rem;
  color: #444444;
}
.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}
.hero-image {
  flex: 1;
  min-width: 300px;
}

/* Trust */
.trust {
  padding: 4rem 0;
  background: #ffffff;
  text-align: center;
}
.trust h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.trust-card {
  padding: 2rem;
  background: #f5f7fa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
}

/* Services */
.services {
  padding: 4rem 0;
  text-align: center;
  background: #fefefe;
}
.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #f5f7fa;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}

/* CTA Final */
.cta-final {
  padding: 4rem 0;
  text-align: center;
  background: #eaf4ff;
}
.cta-final h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-final p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.main-footer {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.95rem;
  color: #444444;
}





/* Base: 1 field per line (Mobile First) */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  padding: 1rem;
  font-size: 1rem;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Optional: Desktop layout (2 columns) */
@media (min-width: 768px) {
  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form .form-group:nth-child(5) {
    grid-column: span 2; /* Message spans full width */
  }

  .contact-form button {
    grid-column: span 2;
  }
}

.main-header a {
  color: #111111;
}
.main-header a:hover {
  color: #007bff;
}
