/* Digital Centrix - Static Site Styles */

:root {
  /* Primary Brand Colors */
  --primary-color: #F57933;
  --primary-dark: #ea580c;
  --footer-blue: #455AB1;
  --section-label-blue: #6EC1E4;
  --accent-purple: #7E76F9;

  /* Text Colors */
  --heading-dark: #42495B;
  --text-color: #333333;
  --text-light: #54595F;

  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F7F7F7;
  --medium-gray: #9F9F9F;

  /* UI */
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  font-size: 1.625rem;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.125rem;
  padding: 8px 0;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.header-phone {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--heading-dark);
}

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

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--heading-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  padding: 50px 0;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.125rem;
  line-height: 1.2;
  color: var(--heading-dark);
  margin-bottom: 20px;
}

.hero-content h1 .highlight {
  color: inherit;
}

.hero-content h1 .highlight-orange {
  color: var(--primary-color);
}

.hero-content h1 .highlight-blue {
  color: var(--footer-blue);
}

.hero-content h1 .highlight-purple {
  color: var(--accent-purple);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  max-width: 500px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  color: var(--section-label-blue);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 3.125rem;
  color: var(--heading-dark);
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 35px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  color: var(--heading-dark);
  margin-bottom: 15px;
  font-size: 1.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 1.375rem;
}

/* About Section */
.about {
  background: var(--light-gray);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content h2 {
  font-size: 3.125rem;
  color: var(--heading-dark);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.about-content .section-label {
  color: var(--section-label-blue);
}

/* Tech Stack */
.tech-stack {
  padding: 60px 0;
}

.tech-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.tech-logo-box {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  padding: 30px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tech-logo-box:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.tech-logo-box img {
  max-height: 55px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: var(--transition);
}

.tech-logo-box:hover img {
  opacity: 1;
}

.tech-logo-box.tech-logo-dark {
  background: var(--heading-dark);
}

.tech-logo-box.tech-logo-dark img,
.tech-logo-box.tech-logo-dark svg {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.tech-logo-box svg {
  max-height: 55px;
  max-width: 100%;
  width: auto;
}

.tech-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 500;
}

.tech-logo-box.tech-logo-dark .tech-label {
  color: rgba(255, 255, 255, 0.8);
}

.tech-logo-box {
  flex-direction: column;
}

/* Tech Box Background Variations */
.tech-bg-light-gray {
  background: var(--light-gray);
}

.tech-bg-medium-gray {
  background: var(--medium-gray);
}

.tech-bg-medium-gray img,
.tech-bg-medium-gray svg {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.tech-bg-medium-gray .tech-label {
  color: rgba(255, 255, 255, 0.9);
}

.tech-bg-footer-blue {
  background: var(--footer-blue);
  border-color: var(--footer-blue);
}

.tech-bg-footer-blue img,
.tech-bg-footer-blue svg {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.tech-bg-footer-blue .tech-label {
  color: rgba(255, 255, 255, 0.9);
}

.tech-bg-label-blue {
  background: var(--section-label-blue);
  border-color: var(--section-label-blue);
}

.tech-bg-label-blue .tech-label {
  color: var(--heading-dark);
}

@media (max-width: 768px) {
  .tech-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Newsletter Section */
.newsletter {
  background: #e0e0e0;
  color: var(--text-color);
  padding: 60px 0;
  margin-top: 40px;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.newsletter-image img {
  max-width: 100%;
  height: auto;
}

.newsletter-content {
  text-align: left;
}

.newsletter h2 {
  margin-bottom: 20px;
  color: var(--heading-dark);
  font-size: 1.75rem;
  white-space: nowrap;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  padding: 14px 30px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

/* Footer Wave Transition */
.footer-wave-transition {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: 30px;
  line-height: 0;
  background: #fff;
}

.footer-wave-transition .wave-back,
.footer-wave-transition .wave-front {
  display: block;
  width: 100%;
  height: auto;
}

.footer-wave-transition .wave-back {
  position: relative;
  z-index: 1;
}

.footer-wave-transition .wave-front {
  position: absolute;
  top: 210px;
  left: 0;
  z-index: 2;
}

/* Footer */
.footer {
  background: var(--footer-blue);
  color: var(--white);
  padding: 0;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

.footer-tagline {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
  font-style: italic;
}

.footer-logo-img {
  height: 70px;
  width: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-section li,
.footer-section p {
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-right {
  text-align: right;
}

.footer-bottom-right p {
  margin: 0;
  line-height: 1.6;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: 3.125rem;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
}

.btn-white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

/* Service Page Styles */
.page-hero {
  background: linear-gradient(135deg, var(--footer-blue) 0%, var(--heading-dark) 100%);
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3.125rem;
  margin-bottom: 15px;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Page Hero with Image */
.service-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.service-hero {
  text-align: left;
  padding: 80px 0 40px;
}

.service-hero .hero-content {
  flex: 1;
}

.service-hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-hero .hero-content p {
  margin: 0;
  max-width: none;
}

.service-hero .hero-image {
  flex: 0 0 auto;
}

.service-hero .hero-image img {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .service-hero .container {
    flex-direction: column;
    text-align: center;
  }

  .service-hero .hero-content p {
    margin: 0 auto;
  }

  .service-hero .hero-image img {
    max-width: 300px;
  }
}

/* Service Page Specific Styles - White Background Layout */
.service-page {
  background: #FFFFFF;
}

.service-page .page-hero,
.service-page .service-hero {
  background: #FFFFFF;
  color: #42495B;
  padding: 40px 0 20px;
}

.service-page .container,
.service-page .page-content .container,
.service-page .service-hero .container,
.service-page .cta .container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-page .page-hero h1,
.service-page .service-hero h1 {
  color: #42495B;
  font-size: 50px;
  font-weight: 600;
}

.service-page .page-hero p,
.service-page .service-hero p {
  color: #7A7A7A;
  opacity: 1;
  font-size: 26px;
  line-height: 39px;
}

.service-page .page-content {
  background: #FFFFFF;
  padding: 40px 0;
}

.service-page .page-content p {
  font-size: 22px;
  line-height: 33px;
  color: #7A7A7A;
}

.service-page .page-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #42495B;
  margin: 30px 0 15px;
}

.service-page .page-content ul {
  list-style: disc;
  padding-left: 25px;
}

.service-page .page-content li {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 33px;
  color: #7A7A7A;
}

/* Footer logo centering and tagline */
.footer-logo {
  text-align: center;
  padding: 40px 0 20px;
}

.footer-tagline {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 600;
  margin-top: 15px;
}

/* Service Page CTA - Light Gray Background */
.service-page .cta {
  background: #F7F7F7;
  color: #42495B;
  padding: 60px 0;
}

.service-page .cta h2 {
  color: #42495B;
  font-size: 50px;
  font-weight: 600;
}

.service-page .cta p {
  color: #7A7A7A;
  opacity: 1;
  font-size: 22px;
  margin-bottom: 25px;
}

.service-page .cta .btn,
.service-page .cta .btn-white {
  background: #F57933;
  color: #FFFFFF;
  border: none;
  padding: 20px 40px;
  font-size: 26px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 121, 51, 0.3);
}

.service-page .cta .btn::after,
.service-page .cta .btn-white::after {
  content: "→";
  font-size: 24px;
  transition: transform 0.3s ease;
}

.service-page .cta .btn:hover,
.service-page .cta .btn-white:hover {
  background: #e06828;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 121, 51, 0.4);
}

.service-page .cta .btn:hover::after,
.service-page .cta .btn-white:hover::after {
  transform: translateX(5px);
}

.page-content {
  padding: 60px 0;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  color: var(--heading-dark);
  margin: 30px 0 15px;
}

.page-content p {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 1.1rem;
}

.page-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 10px;
  color: var(--text-light);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-inner,
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom-left {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom-right {
    text-align: center;
  }

  .footer-wave-transition {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .header-phone {
    display: none;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-content {
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .tech-logos img {
    height: 35px;
  }
}
