/* styles.css - Main stylesheet for GreySolve */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1B365D;
    --blue: #4A90E2;
    --gold: #F5A623;
    --grey: #8E8E93;
    --teal: #50C9C3;
    --charcoal: #2C3E50;
    --light-bg: #F8F9FA;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
}

main {
    padding: 2em;
}

section {
    margin-bottom: 2em;
}

button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.5em 1em;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

/* =============================
   Greysolve Brand CSS System
   ============================= */

/* 1. CSS Variables (Brand Colors & Spacing) */
:root {
  --color-navy: #1B365D;
  --color-blue: #4A90E2;
  --color-gold: #F5A623;
  --color-grey: #8E8E93;
  --color-teal: #50C9C3;
  --color-charcoal: #2C3E50;
  --color-white: #fff;
  --color-black: #111;

  --font-main: 'Montserrat', Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 2rem;
  --font-size-md: 1.25rem;
  --font-size-sm: 0.95rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}

/* 2. CSS Reset & Base Styles */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  background: var(--color-white);
  color: var(--color-charcoal);
  line-height: 1.6;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-gold);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 3. Responsive Grid System */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.col {
  flex: 1 1 0;
  padding: 1rem;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

@media (max-width: 900px) {
  .col-6, .col-4, .col-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* 4. Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0 ; }
.mt-1 { margin-top: var(--space-sm) ; }
.mt-2 { margin-top: var(--space-md) ; }
.mb-1 { margin-bottom: var(--space-sm) ; }
.mb-2 { margin-bottom: var(--space-md) ; }
.p-1 { padding: var(--space-sm) ; }
.p-2 { padding: var(--space-md) ; }
.radius { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.bg-navy { background: var(--color-navy); color: var(--color-white); }
.bg-blue { background: var(--color-blue); color: var(--color-white); }
.bg-gold { background: var(--color-gold); color: var(--color-black); }
.bg-grey { background: var(--color-grey); color: var(--color-white); }
.bg-teal { background: var(--color-teal); color: var(--color-white); }

/* 5. Animation Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--color-blue, #4A90E2); }
  70% { box-shadow: 0 0 0 10px rgba(74, 144, 226, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 144, 226, 0); }
}


/* 7. Footer */
footer {
  background: var(--color-charcoal);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  margin-top: var(--space-lg);
}

/* 8. Split-Screen Layouts */
.split-screen {
  display: flex;
  min-height: 60vh;
}
.split-screen .split {
  flex: 1;
  padding: var(--space-lg);
}
.split-screen .split.bg-navy {
  color: var(--color-white);
}
@media (max-width: 900px) {
  .split-screen {
    flex-direction: column;
  }
  .split-screen .split {
    padding: var(--space-md);
  }
}

/* 9. Gradient Hero Sections */
.hero {
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: var(--color-white);
  padding: var(--space-lg) 0 var(--space-md) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1, .hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

/* 10. Metric Bubble Cards */
.metric-bubble {
  background: var(--color-white);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  margin: 0 auto;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.5rem;
  animation: fadeInUp 0.8s;
}
.metric-bubble .label {
  font-size: 0.9rem;
  color: var(--color-grey);
  font-weight: 400;
}

/* 11. Service Cards */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 5px solid var(--color-blue);
  animation: fadeInUp 0.7s;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(74, 144, 226, 0.12);
}

/* 12. Case Study Cards */
.case-study-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-top: 4px solid var(--color-gold);
  transition: box-shadow 0.2s;
  animation: fadeInUp 0.7s;
}
.case-study-card:hover {
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.12);
}

/* 13. CTA Buttons */
.btn {
  display: inline-block;
  padding: 0.75em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: #4A90E2;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  transition: background 0.2s, transform 0.2s;
  text-align: center;
  text-decoration: none;
  margin: 0.5em 0;
  animation: pulse 2s infinite;
}
.btn:hover, .btn:focus {
  background: #4A90E2;
  color: white;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
  animation: none;
}
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}
.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/* 14. Forms */
form {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: 0 auto;
}
form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
}
form input, form textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  border: 1px solid var(--color-grey);
  border-radius: 4px;
  font-size: 1rem;
  background: #f9f9f9;
  transition: border 0.2s;
}
form input:focus, form textarea:focus {
  border-color: var(--color-blue);
  outline: none;
}

/* 15. Responsive Breakpoints */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
  .hero h1, .hero h2 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .container {
    width: 98%;
    padding: 0 0.5em;
  }
  .hero {
    padding: var(--space-md) 0;
  }
  .hero h1, .hero h2 {
    font-size: 1.5rem;
  }
  .split-screen .split {
    padding: var(--space-sm);
  }
  form {
    padding: var(--space-sm);
  }
}

/* 16. Footer */
.footer {
    background: var(--color-navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Header */
.header {
    position: fixed ;
    top: 0 ;
    left: 0 ;
    right: 0 ;
    background: rgba(255, 255, 255, 0.95) ;
    backdrop-filter: blur(20px) ;
    z-index: 1000 ;
    border-bottom: 1px solid rgba(27, 54, 93, 0.1) ;
}

.nav-container {
    max-width: 1400px ;
    margin: 0 auto ;
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    padding: 1rem 2rem ;
}

.logo {
    display: flex ;
    align-items: center ;
    text-decoration: none ;
    color: var(--navy) ;
}

.logo-symbol {
    width: 45px ;
    height: 45px ;
    margin-right: 15px ;
    position: relative ;
    background: linear-gradient(45deg, var(--navy), var(--blue)) ;
    border-radius: 12px ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    overflow: hidden ;
}

.logo-symbol::before {
    content: '' ;
    position: absolute ;
    width: 60% ;
    height: 60% ;
    background: var(--white) ;
    border-radius: 4px ;
    transform: rotate(45deg) ;
}

.logo-symbol::after {
    content: '' ;
    position: absolute ;
    width: 12px ;
    height: 12px ;
    background: var(--gold) ;
    border-radius: 50% ;
    top: 8px ;
    right: 8px ;
    z-index: 1 ;
}

.logo-text {
    font-size: 1.4rem ;
    font-weight: 700 ;
    color: var(--navy) ;
}

.nav-links {
    display: flex ;
    list-style: none ;
    gap: 2.5rem ;
    align-items: center ;
    flex-direction: row ;
}

.nav-links a {
    text-decoration: none ;
    color: var(--navy) ;
    font-weight: 500 ;
    position: relative ;
    transition: color 0.3s ease ;
    display: inline-block ;
    white-space: nowrap ;
}

.nav-links a:hover {
    color: var(--blue) ;
}

.nav-cta {
    background: #4A90E2 ;
    color: white ;
    padding: 0.8rem 2rem ;
    border-radius: 25px ;
    font-weight: 600 ;
    transition: all 0.3s ease ;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) ;
    text-decoration: none ;
    white-space: nowrap ;
    display: inline-block ;
}

.nav-cta:hover {
    transform: translateY(-2px) ;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4) ;
    color: white ;
}

/* 18. Miscellaneous */
.hide { display: none ; }
.visible { display: block ; }

/* End of Greysolve CSS System */ 