/* ==========================================================================
   Idrak Security - Main Stylesheet
   Based on Figma Design
   ========================================================================== */

/* CSS Variables */
:root {
  /* Colors */
  --primary-cyan: #54F4FC;
  --primary-cyan-light: #64F4FB;
  --primary-cyan-100: #E3F3F4;
  --primary-cyan-300: #C3F3F6;
  --mint-tulip: #C3F3F6;
  --dark-blue: #1E293B;
  --dark-blue-700: #333D4D;
  --dark-blue-500: #5E6672;
  --dark-blue-300: #888E97;
  --white: #FFFFFF;
  --black: #000000;
  --grey-dark: #424242;
  --grey-light: #B1B5BB;
  --error: #E12204;
  
  /* Typography */
  --font-heading: 'Exo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Atkinson Hyperlegible', sans-serif;
  
  /* Spacing */
  --container-max: 1320px;
  --section-padding: 80px;
  --content-padding: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.18;
  color: var(--black);
}

.h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.17;
}

.h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.17;
  text-transform: uppercase;
}

.h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.h4 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.h5 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
}

.h6 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
}

.p-xl {
  font-size: 24px;
  line-height: 1.17;
}

.p-l {
  font-size: 18px;
  line-height: 1.22;
}

.p-m {
  font-size: 16px;
  line-height: 1.13;
}

.p-s {
  font-size: 14px;
  line-height: 1.14;
}

.p-xs {
  font-size: 12px;
  line-height: 1.17;
}

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

.text-uppercase {
  text-transform: uppercase;
}

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

.text-cyan {
  color: var(--primary-cyan);
}

.text-white {
  color: var(--white);
}

.text-dark {
  color: var(--dark-blue);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary-cyan);
  color: var(--dark-blue);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--dark-blue);
  color: var(--dark-blue);
}

.btn-outline:hover {
  background-color: var(--dark-blue);
  color: var(--white);
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
}

.btn-icon svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

.header-line {
  width: 100%;
  height: 1px;
  background-color: var(--black);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-blue);
}

.logo-img {
  height: 45.48px;
  width: auto;
  aspect-ratio: 8.79;
  object-fit: cover;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 19px;
}

.nav-link {
  padding: 10px 20px;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-blue);
  border-radius: 4px;
  transition: var(--transition-fast);
  letter-spacing: 0;
  line-height: 16px;
  white-space: nowrap;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link:hover {
  background-color: var(--mint-tulip);
  color: var(--dark-blue);
}

.nav-link.active {
  background-color: var(--mint-tulip);
  color: var(--dark-blue);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 129px;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border: 1px solid var(--dark-blue);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}

.lang-selector svg {
  width: 24px;
  height: 24px;
}

.user-icon {
  width: 32px;
  height: 32px;
  padding: 4px;
  background-color: var(--primary-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Section (HomePage)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 600px;
  padding: 60px 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.958 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544V0h.284zM0 5.373l25.456 25.455-1.414 1.415L0 8.2V5.374zm0 5.656l22.627 22.627-1.414 1.414L0 13.86v-2.83zm0 5.656l19.8 19.8-1.415 1.413L0 19.514v-2.83zm0 5.657l16.97 16.97-1.414 1.415L0 25.172v-2.83zM0 28l14.142 14.142-1.414 1.414L0 30.828V28z' fill='%231E293B' fill-opacity='.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  padding: 40px 48px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 24px;
  line-height: 1.4;
  color: var(--dark-blue);
  margin-bottom: 32px;
}

.hero .btn {
  margin-top: 16px;
}

/* ==========================================================================
   About Company Section
   ========================================================================== */

.about-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.about-text {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--dark-blue);
  border-radius: 4px;
}

.about-text .h2 {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.6;
}

.about-text .text-bold {
  font-weight: 700;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
  background: var(--dark-blue);
  padding: 80px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 48px;
}

.services-header .h2 {
  color: var(--primary-cyan);
  margin-bottom: 16px;
}

.services-header .subtitle {
  color: var(--white);
  font-size: 24px;
  max-width: 800px;
  margin: 0 auto 24px;
}

.services-header .description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.service-card {
  background: var(--dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 32px 24px;
  transition: var(--transition-normal);
}

.service-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--primary-cyan);
}

.service-card-title {
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-card-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.5;
}

/* Bottom row - 2 cards centered */
.services-grid-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid-bottom .service-card {
  flex: 0 1 420px;
}

/* Quote Section */
.services-quote {
  text-align: center;
  padding: 60px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.services-quote .h1 {
  color: var(--white);
  font-size: 36px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.services-quote .subtitle {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 32px;
}

.services-cta {
  text-align: center;
  padding-top: 40px;
}

/* ==========================================================================
   Industries Section
   ========================================================================== */

.industries-section {
  padding: 80px 0;
  background: var(--white);
}

.industries-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 48px;
}

.industries-header .h2 {
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.industries-header .subtitle {
  font-size: 24px;
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.industries-header .description {
  font-size: 18px;
  color: var(--grey-dark);
  max-width: 800px;
  margin: 0 auto;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto 20px;
  padding: 0 48px;
}

.industry-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 20px;
  border: 1px solid var(--dark-blue);
  border-radius: 4px;
  transition: var(--transition-normal);
}

.industry-card:hover {
  background: var(--primary-cyan-100);
  border-color: var(--primary-cyan);
}

.industry-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--dark-blue);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-cyan);
}

.industry-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark-blue);
}

/* Bottom row - 2 cards centered */
.industries-grid-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}

.industries-grid-bottom .industry-card {
  flex: 0 1 420px;
}

.industries-cta {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  padding: 80px 0;
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-header .h2 {
  color: var(--dark-blue);
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.faq-divider {
  background: var(--black);
  width: 1px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--grey-light);
  margin-bottom: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin: 0;
  text-align: left;
  flex: 1;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 2px solid var(--dark-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  margin-left: 16px;
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  background: var(--primary-cyan);
}

.faq-item.active .faq-toggle svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-dark);
  padding-bottom: 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--primary-cyan);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  opacity: 0.3;
}

.footer-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  color: var(--black);
}

.footer-brand .h4 {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-brand a {
  color: var(--dark-blue);
  text-decoration: underline;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-nav-column h5 {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.footer-nav-column a {
  display: block;
  font-size: 14px;
  color: var(--dark-blue);
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.footer-nav-column a:hover {
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  background: var(--black);
  margin: 40px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-tagline .hero-title {
  font-size: 56px;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-blue);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* ==========================================================================
   Page Headers (for inner pages)
   ========================================================================== */

.page-header {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.page-header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.958 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4z' fill='%231E293B' fill-opacity='.15' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-header .h2 {
  margin-bottom: 16px;
  position: relative;
}

.page-header .h2::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-cyan);
}

.page-header .subtitle {
  font-size: 18px;
  color: var(--grey-dark);
  margin-bottom: 24px;
}

.page-header .description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-blue);
}

/* ==========================================================================
   Forms
   ========================================================================== */

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

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

.form-label.required::after {
  content: '*';
  color: var(--error);
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--dark-blue);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(84, 244, 252, 0.2);
}

.form-input::placeholder {
  color: var(--grey-light);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-cyan);
}

.form-checkbox label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--grey-dark);
}

/* ==========================================================================
   Cards (Generic)
   ========================================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--dark-blue);
  border-radius: 4px;
  padding: 24px;
}

.card-dark {
  background: var(--dark-blue);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
}

th {
  font-weight: 600;
  color: var(--dark-blue);
  background: var(--primary-cyan-100);
}

/* ==========================================================================
   Accordion
   ========================================================================== */

.accordion-item {
  border-bottom: 1px solid var(--grey-light);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header:hover {
  color: var(--primary-cyan);
}

.accordion-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-dark);
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.tabs {
  margin-bottom: 40px;
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--grey-light);
}

.tab-btn {
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-dark);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--dark-blue);
  border-color: var(--primary-cyan);
}

.tab-content {
  display: none;
  padding: 24px 0;
}

.tab-content.active {
  display: block;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-inner {
    padding: 16px 24px;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 40px 24px;
  }
  
  .hero-image {
    opacity: 0.3;
    width: 100%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  
  .services-grid {
    padding: 0 24px;
  }
  
  .industries-grid {
    padding: 0 24px;
  }
  
  .faq-container {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  
  .faq-divider {
    display: none;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .h1 {
    font-size: 36px;
  }
  
  .h2 {
    font-size: 28px;
  }
  
  .services-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid-bottom,
  .industries-grid-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  
  .services-grid-bottom .service-card,
  .industries-grid-bottom .industry-card {
    flex: 1;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  
  .footer-tagline .hero-title {
    font-size: 40px;
  }
}

/* Mobile menu toggle (to be implemented with JS) */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark-blue);
  transition: var(--transition-fast);
}

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

/* Logo Image Styles */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}

/* Footer logo */
.footer-logo-img {
  height: 32px;
  width: auto;
}

/* Logo SVG fix - make it larger */
.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

/* Services cards - dark background with cyan border */
.services-grid .service-card {
  background: var(--dark-blue);
  border: 1px solid rgba(84, 244, 252, 0.3);
  color: var(--white);
}
.services-grid .service-card h3 {
  color: var(--primary-cyan);
}
.services-grid .service-card p {
  color: rgba(255, 255, 255, 0.8);
}
.services-grid .service-card .service-icon {
  color: var(--primary-cyan);
}

/* Quote section on services */
.services-quote {
  background: var(--dark-blue);
  padding: 60px 24px;
  text-align: center;
}
.services-quote blockquote {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
  font-style: italic;
}
.services-quote p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* FAQ accordion styling */
.faq-item {
  border-bottom: 1px solid var(--grey-light);
  padding: 20px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  gap: 16px;
}
.faq-question h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  flex: 1;
}
.faq-toggle {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary-cyan);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.faq-toggle svg {
  color: var(--primary-cyan);
  transition: var(--transition-fast);
}
.faq-item.active .faq-toggle svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-answer p {
  padding-top: 16px;
  color: var(--grey-dark);
  line-height: 1.6;
}

/* Industries tabs - functional styling */
.detail-tab-content {
  display: none;
}
.detail-tab-content.active {
  display: block;
}

/* Footer LinkedIn icon - dark on cyan */
.footer-social a {
  width: 48px;
  height: 48px;
  background: var(--dark-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

/* Case Study Styling */
.case-study-content {
  background: var(--dark-blue);
  border-radius: 12px;
  padding: 32px;
  color: var(--white);
}

.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.case-study-header h4 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.case-study-tag {
  background: var(--primary-cyan);
  color: var(--dark-blue);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.case-study-content > p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: rgba(8, 0, 0, 0.9);
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-study-stats .stat {
  text-align: center;
}

.case-study-stats .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: rgba(11, 0, 0, 0.9);
  margin-bottom: 4px;
}

.case-study-stats .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .case-study-stats {
    grid-template-columns: 1fr;
  }
  
  .case-study-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer logo styling */
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

/* Mobile logo */
@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

/* Footer brand bottom - world dots + text */
.footer-brand-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.footer-world-icon {
  width: 64px;
  height: auto;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-blue);
}

/* FAQ Accordion - dropdown functionality */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item .faq-answer p {
  padding-bottom: 20px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-toggle {
  display: flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 2px solid var(--dark-blue);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-toggle:hover {
  background: var(--primary-cyan);
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  background: var(--primary-cyan);
}

.faq-item.active .faq-toggle svg {
  transform: rotate(180deg);
}

.faq-question {
  cursor: pointer;
}

.faq-question h4 {
  padding-right: 0;
}
