/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

/* CSS Custom Properties for Theme Colors */
:root {
    --color-blue: #1A2E45;
    --color-green: #798E7B;
    --color-grey: #A6ACB3;
    
    /* Font families */
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Open Sans', sans-serif;
    
    /* Color variations for different uses */
    --color-primary: var(--color-blue);
    --color-secondary: var(--color-green);
    --color-accent: var(--color-grey);
    
    --color-text-dark: var(--color-blue);
    --color-text-light: #ffffff;
    --color-background: #ffffff;
}

/* Base Typography */
body {
    font-family: var(--font-text);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    line-height: 1.6;
}

/* Headings use Montserrat */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

/* Paragraphs and text use Open Sans */
p, li, span, a {
    font-family: var(--font-text);
}

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

/* Button Styles */
button, .btn {
    font-family: var(--font-title);
    font-weight: 600;
}

/* Links */
a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

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

/* Utility Classes for Theme Colors */
.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-accent {
    background-color: var(--color-grey);
}

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

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

.text-accent {
    color: var(--color-grey);
}

.border-primary {
    border-color: var(--color-primary);
}

.border-secondary {
    border-color: var(--color-secondary);
}

.border-accent {
    border-color: var(--color-grey);
}

/* Custom Gradient using theme colors */
.bg-gradient {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-green) 100%);
}

/* Light background variations */
.bg-light {
    background-color: #fafbfb;
}

.bg-light-grey {
    background-color: #f5f6f7;
}

/* Button hover states */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #253d58;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #8FA091;
}

/* Text color utilities */
.text-light {
    color: rgba(255, 255, 255, 0.85);
}

.mb-10 {
    margin-bottom:2.5rem
}

/* ============================================================
   Missing Tailwind utility compatibility
   (to remove once Tailwind CSS build pipeline is set up)
   ============================================================ */

/* --- Display / Grid --- */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* --- Flexbox --- */
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.min-w-0 { min-width: 0px; }
@media (min-width: 768px) {
    .md\:items-start { align-items: flex-start; }
}

/* --- Spacing: margin --- */
.mt-14 { margin-top: 3.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
@media (min-width: 768px) {
    .md\:mt-0 { margin-top: 0px; }
}

/* --- Spacing: padding --- */
.pt-0 { padding-top: 0px; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.p-6 { padding: 1.5rem; }

/* --- Widths --- */
.w-12 { width: 3rem; }
@media (min-width: 768px) {
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
}
@media (min-width: 1024px) {
    .lg\:w-1\/3 { width: 33.333333%; }
    .lg\:w-2\/3 { width: 66.666667%; }
}

/* --- Max widths --- */
.max-w-none { max-width: none; }
.max-w-4xl  { max-width: 56rem; }
.max-w-5xl  { max-width: 64rem; }
.max-w-6xl  { max-width: 72rem; }

/* --- Opacity --- */
.opacity-75 { opacity: 0.75; }

/* --- Whitespace --- */
.whitespace-nowrap { white-space: nowrap; }

/* --- Borders / shadow --- */
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.border-l-4 { border-left-width: 4px; }

/* --- Transition --- */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* --- Cursor --- */
.cursor-pointer { cursor: pointer; }

/* --- Hero utilities --- */
.cover { position: relative; }
.h-100 { height: 25rem; }