@import url('fonts.css');

/* ==========================================
   DESIGN SYSTEM & GLOBAL VARIABLES
   ========================================== */
:root {
  /* Colors */
  --primary: #13385E;
  --primary-dark: #0A1C30;
  --secondary: #0259A5;
  --accent: #C2872B;
  --accent-light: #E4ED64;
  --dark: #111111;
  --muted: #666666;
  --light-gray: #DDDDDD;
  --bg-light: #ffffff;
  --bg-card: #E6F4FF;
  --white: #FFFFFF;

  /* Gradients */
  --primary-gradient: linear-gradient(180deg, #13385E 0%, #0259A5 100%);
  --secondary-gradient: linear-gradient(1deg, #13385E 0%, #0259A5 73%);
  --light-gradient: linear-gradient(1deg, #9FC7F0 0%, #E6F4FF 73%);
  --dark-overlay: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 1) 100%);
  --stats-overlay: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.62) 100%);

  /* Typography */
  --font-switzer: 'Switzer', sans-serif;
  --font-dm: 'DM Sans', sans-serif;

  /* Radius */
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Containers */
  --max-width: 1600px;
}

/* ==========================================
   BASE STYLES
   ========================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

html,
body {
  font-family: var(--font-switzer);
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.text-dark {
  color: #111111 !important;
}

/* Custom Global Container System for 1920px Screen */
.container,
.max-width-container {
  max-width: 1720px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 80px !important;
  padding-right: 80px !important;
}

@media (max-width: 991px) {

  .container,
  .max-width-container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 575px) {

  .container,
  .max-width-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Typography Helper Classes */
.font-switzer {
  font-family: var(--font-switzer);
}

.font-dm {
  font-family: var(--font-dm);
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

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

/* Custom Heading Styles matching Figma */
h1,
.h1-title {
  font-family: var(--font-dm);
  font-weight: 500;
  font-size: 65px;
  line-height: 1.125;
}

h2,
.h2-title {
  font-family: var(--font-dm);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.15;
}

h3,
.h3-title {
  font-family: var(--font-dm);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
}

h4,
.h4-title {
  font-family: var(--font-switzer);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
}

h5,
.h5-title {
  font-family: var(--font-switzer);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

/* Text Gradients */
.text-gradient-primary {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(180deg, #E4ED64 0%, #C2872B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================
   UNIFIED GLOBAL TYPOGRAPHY SYSTEM
   ========================================== */
.section-subtitle,
.section-desc {
  font-family: var(--font-switzer);
  font-weight: 400;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #64748B !important;
}

.card-desc,
.infra-card p,
.value-card p,
.journey-card p,
.project-description {
  font-family: var(--font-switzer);
  font-weight: 400;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #64748B !important;
}

/* Global Responsive Typography Rules */
@media (max-width: 991px) {

  h1,
  .h1-title {
    font-size: 52px !important;
    line-height: 1.15 !important;
  }

  h2,
  .h1-title {
    font-size: 36px !important;
    line-height: 1.2 !important;
  }

  h3,
  .h3-title {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .section-subtitle,
  .section-desc {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .card-desc,
  .infra-card p,
  .value-card p,
  .journey-card p,
  .project-description {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 575px) {

  h1,
  .h1-title {
    font-size: 36px !important;
  }

  h2,
  .h1-title {
    font-size: 28px !important;
  }

  h3,
  .h3-title {
    font-size: 22px !important;
  }
}