/* Profile CSS - Premium Corporate Brochure Style for Infinity Computer */

:root {
  --profile-primary: #1e3a8a; /* Deep Navy Blue */
  --profile-secondary: #c09b5a; /* Gold/Brass accent */
  --profile-text: #333333;
  --profile-text-light: #64748b;
  --profile-bg: #e2e8f0; /* Gray desktop background */
  --profile-page: #ffffff; /* White paper sheet */
  --profile-dark: #0f172a;
  --profile-accent: #fb2a71; /* Logo Magenta */
  --profile-shadow: 0 15px 50px rgba(0,0,0,0.15);
  --profile-radius: 4px;
  --page-width: 1000px;
  --page-padding: 60px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--profile-text);
  line-height: 1.6;
  background: var(--profile-bg);
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

/* Brochure Page Wrapper */
.page {
  width: var(--page-width);
  background: var(--profile-page);
  box-shadow: var(--profile-shadow);
  margin-bottom: 40px;
  position: relative;
  padding: var(--page-padding);
  display: flex;
  flex-direction: column;
  min-height: 1414px; /* A4 Ratio approx */
  overflow: hidden; /* Prevent watermark from spilling over edges */
}

/* Infinity Computer Watermark for Brochure Pages */
.page:not(.cover)::before {
  content: 'INFINITY COMPUTER';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-size: 7rem;
  font-weight: 900;
  color: var(--profile-primary);
  opacity: 0.08; /* Increased opacity for darker watermark */
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Page Footer for Brochure */
.page-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: var(--profile-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
}

.page-footer-bar .brand-label {
  color: #fff;
}

.page-footer-bar .section-label {
  color: var(--profile-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-section {
  padding: 40px 0;
  width: 100%;
}

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

.section-tag {
  color: var(--profile-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--profile-text);
  margin-bottom: 15px;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--profile-text-light);
  font-size: 1.1rem;
}

/* Brochure Typography & Elements */
.profile-hero {
  flex: 1;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../images/profile/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 60px;
  margin: -60px -60px 0 -60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--profile-radius);
  padding: 30px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.advantage-item i {
  font-size: 1.2rem;
  margin-top: 5px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--profile-primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  font-weight: 700;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--profile-radius);
  transition: all 0.3s ease;
}

.contact-block {
  background: var(--profile-dark);
  color: #fff;
  padding: 40px;
  border-radius: 8px;
}

/* Print Optimization */
@media print {
  body {
    background: #fff;
    padding: 0;
  }
  .page {
    margin: 0 !important;
    box-shadow: none !important;
    page-break-after: always;
    width: 100% !important;
    padding: 2cm !important;
  }
  .page-footer-bar {
    position: fixed;
    bottom: 0;
  }
}

/* Responsive (Screen only) */
@media screen and (max-width: 1024px) {
  .page {
    width: 95%;
    padding: 30px;
    min-height: auto;
  }
  .profile-hero {
    margin: -30px -30px 0 -30px;
  }
  .about-grid, .service-cards, .process-steps {
    grid-template-columns: 1fr;
  }
}
