/* ============================================
   Intelloger Software - Main Stylesheet
   Theme Color: #478ac9
   Fonts: Roboto, Open Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?display=swap&family=Roboto:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800');

/* CSS Variables */
:root {
  --palette-1-base: #478ac9;
  --palette-1-light-1: #6ba2d4;
  --palette-1-light-2: #d4e4f3;
  --palette-2-base: #f44336;
  --palette-2-light-2: #fdd;
  --white: #ffffff;
  --black: #111111;
  --grey-80: #333333;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  color: var(--black);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo a {
  display: inline-block;
}

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

/* Desktop Nav */
.nav-desktop {
  display: flex;
  gap: 0;
}

.nav-desktop a {
  padding: 10px 20px;
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0px;
  color: var(--black);
  transition: color 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--palette-2-base);
}

.nav-desktop a.active {
  color: var(--palette-1-base);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger svg {
  width: 24px;
  height: 24px;
  fill: var(--black);
}

/* Mobile Nav Overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

.nav-mobile-overlay.active {
  display: block;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  transition: right 0.3s ease;
  padding-top: 60px;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 5px 10px;
}

.nav-mobile a {
  display: block;
  padding: 15px 30px;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: background 0.3s ease;
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO SECTION (Section 1 - Home)
   ============================================ */
.hero-section {
  background-image: url('images/hero-banner.png');
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 596px;
}

.hero-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 596px;
}

/* ============================================
   ABOUT SECTION (Section 2 - Home)
   ============================================ */
.about-section {
  background-color: var(--white);
  padding: 0;
}

.about-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 451px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card {
  width: 868px;
  max-width: 100%;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin: 19px auto;
  min-height: 413px;
}

.about-card h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin: 21px auto 0;
}

.about-card p {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #555;
  margin: 20px 0 0;
  line-height: 1.8;
}

/* ============================================
   COMPANY INFO SECTION (Section 3 - Home)
   ============================================ */
.company-section {
  background-color: var(--white);
  padding: 0;
}

.company-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 540px;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 60px auto 60px 0;
}

.company-image-cell {
  min-height: 420px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-image-cell img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
}

.company-text-cell {
  min-height: 420px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-text-cell h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.company-text-cell p {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #555;
  margin: 20px 0 0;
  line-height: 1.8;
}

.company-text-cell .btn {
  display: inline-block;
  margin: 20px 0 0;
  padding: 12px 30px;
  background: var(--palette-1-base);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--palette-1-base);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.company-text-cell .btn:hover {
  background: transparent;
  color: var(--palette-1-base);
}

/* ============================================
   SERVICES SECTION (Section 4 - Home)
   ============================================ */
.services-section {
  background-color: #f5f5f5;
  padding: 0;
}

.services-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 613px;
}

.services-section .section-title {
  font-family: var(--font-primary);
  font-size: 3.75rem;
  font-weight: 700;
  text-align: center;
  margin: 24px auto 0;
  padding-top: 40px;
  color: var(--black);
}

.services-card {
  padding: 30px;
  min-height: 427px;
  margin-top: 25px;
  margin-bottom: 60px;
}

.service-item-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.service-item-header img {
  width: 255px;
  height: 164px;
  object-fit: cover;
  border-radius: 8px;
}

.service-item-header h3 {
  font-family: var(--font-primary);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--black);
  padding-top: 10px;
}

.services-card p {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: #555;
  margin: 39px 8px 0 32px;
  line-height: 1.8;
}

/* ============================================
   PRODUCTS/GALLERY SECTION (Section 5 - Home)
   ============================================ */
.products-section {
  background-color: var(--white);
  padding: 0;
}

.products-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 643px;
}

.products-section .section-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin: 41px auto 0;
  padding-top: 40px;
  color: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 35px;
}

.product-card {
  padding: 20px 30px;
}

.product-card .product-image {
  width: 100%;
  height: 219px;
  object-fit: cover;
  border-radius: 20px;
}

.product-card h4 {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  margin: 20px 2px 0;
}

.product-card p {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: #777;
  margin: 20px 0 0;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--white);
  border-top: 1px solid #eee;
  padding: 40px 0;
}

.footer .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-info {
  text-align: center;
  flex: 1;
}

.footer-info .footer-title {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--palette-1-base);
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-info p {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: #555;
  line-height: 1.8;
}

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

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-section {
  background-color: var(--palette-1-light-2);
  padding: 0;
}

.privacy-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.privacy-card {
  background: var(--white);
  border-radius: 50px;
  padding: 60px;
  margin: 60px auto;
  max-width: 100%;
}

.privacy-card h1 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  margin: 0;
}

.privacy-card h3.intro-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--palette-1-light-1);
  margin: 40px 0 0;
  font-size: 1.25rem;
}

.privacy-card .intro-text {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-style: italic;
  color: #555;
  margin: 10px 0 0;
  line-height: 1.8;
}

.privacy-card .divider {
  border: none;
  border-top: 3px solid var(--palette-2-light-2);
  margin: 19px 0 0;
  width: 100%;
}

.privacy-card h3.section-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--palette-2-base);
  margin: 40px 0 0;
  font-size: 1.25rem;
}

.privacy-card > p,
.privacy-card .section-text {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #333;
  margin: 20px 0 0;
  line-height: 1.8;
}

.privacy-card .bold-text {
  font-weight: 700;
}

.privacy-card .check-list {
  margin: 20px 0 0;
  padding: 0;
}

.privacy-card .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.privacy-card .check-list li .check-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.privacy-card .check-list.red-checks li .check-icon {
  color: var(--palette-2-base);
}

.privacy-card .check-list.blue-checks li .check-icon {
  color: var(--palette-2-base);
}

.privacy-card .check-list li .check-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
  .hero-section,
  .hero-section .container {
    min-height: 491px;
  }

  .company-image-cell,
  .company-text-cell {
    min-height: 346px;
  }

  .company-image-cell img {
    width: 250px;
    height: 250px;
  }

  .services-section .section-title {
    font-size: 3rem;
  }

  .products-section .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  .hero-section,
  .hero-section .container {
    min-height: 376px;
  }

  .company-grid {
    margin: 40px auto;
  }

  .company-image-cell img {
    width: 216px;
    height: 216px;
  }

  .company-image-cell,
  .company-text-cell {
    min-height: 265px;
  }

  .services-section .section-title {
    font-size: 2.5rem;
  }

  .services-card p {
    font-size: 1.2rem;
  }

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

  .privacy-card {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

  .nav-desktop {
    display: none;
  }

  .hero-section,
  .hero-section .container {
    min-height: 282px;
  }

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

  .company-image-cell {
    min-height: auto;
    padding: 30px 10px;
  }

  .company-text-cell {
    min-height: auto;
    padding: 10px;
  }

  .services-section .section-title {
    font-size: 2.25rem;
  }

  .service-item-header {
    flex-direction: column;
    align-items: center;
  }

  .service-item-header img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .services-card p {
    font-size: 1rem;
    margin: 20px 0 0;
  }

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

  .product-card .product-image {
    height: 300px;
  }

  .product-card {
    padding: 20px 10px;
  }

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

  .privacy-card h1 {
    font-size: 1.75rem;
  }

  .privacy-card {
    border-radius: 20px;
    padding: 20px;
    margin: 30px auto;
  }
}

@media (max-width: 575px) {
  .hero-section,
  .hero-section .container {
    min-height: 178px;
  }

  .about-card {
    width: 340px;
  }

  .services-section .section-title {
    font-size: 1.875rem;
  }

  .product-card .product-image {
    height: 220px;
  }

  .products-section .section-title {
    font-size: 1.875rem;
  }
}

/* Backlink section */
.backlink-section {
  background-color: var(--grey-80);
  padding: 10px 0;
  text-align: center;
  font-size: 0.75rem;
  color: #999;
}

/* ============================================
   CONTACT US PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0 0;
}

.contact-info-card {
  background: var(--palette-1-light-2);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(71, 138, 201, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  color: var(--palette-1-base);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-info-card h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--palette-1-base);
  margin-bottom: 10px;
}

.contact-info-card p {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.contact-link {
  color: var(--palette-1-base) !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--palette-2-base) !important;
}

.contact-note {
  font-size: 0.8rem !important;
  color: #888 !important;
  margin-top: 8px !important;
}

/* Contact Form */
.contact-form {
  margin-top: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

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

.form-group label {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.required {
  color: var(--palette-2-base);
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
  background: #fafafa;
  color: var(--black);
}

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus {
  border-color: var(--palette-1-base);
  background: var(--white);
}

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

/* Checkbox Style */
.form-checkbox-group {
  margin-bottom: 25px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-secondary) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: #555 !important;
  line-height: 1.5;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--palette-1-base);
  flex-shrink: 0;
}

.checkbox-label span {
  flex: 1;
}

.btn.submit-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--palette-1-base);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--palette-1-base);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.submit-btn:hover {
  background: transparent;
  color: var(--palette-1-base);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: #4CAF50;
  margin: 15px 0 10px;
}

.form-success p {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #555;
}

/* ============================================
   OUR SERVICES PAGE
   ============================================ */
.services-hero-section {
  background: linear-gradient(135deg, var(--palette-1-base), #2a6db5);
  padding: 80px 20px;
  text-align: center;
}

.services-hero-section .container {
  max-width: 1140px;
  margin: 0 auto;
}

.services-hero-section h1 {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 15px;
}

.services-hero-section p {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.service-detail-block {
  display: flex;
  gap: 25px;
  margin-top: 30px;
  align-items: flex-start;
}

.service-detail-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  color: var(--palette-1-base);
  margin-top: 5px;
}

.service-detail-icon svg {
  width: 100%;
  height: 100%;
}

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

.service-detail-content .section-heading {
  margin-top: 0;
}

.services-cta {
  text-align: center;
  margin-top: 30px;
}

.services-cta .section-heading {
  text-align: center;
}

.services-cta .section-text {
  text-align: center;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-hero-section {
    padding: 60px 20px;
  }

  .services-hero-section h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-detail-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-detail-content .check-list li {
    justify-content: center;
  }

  .services-hero-section h1 {
    font-size: 1.875rem;
  }

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

  .nav-desktop a {
    font-size: 0.875rem;
    padding: 10px 10px;
  }
}

@media (max-width: 575px) {
  .services-hero-section {
    padding: 40px 15px;
  }
}
