/* ================================
   GLOBAL STYLES - Reset & Base
   ================================ */

/* CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #7A7A7A;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Design Tokens / CSS Variables */
:root {
    /* Colors */
    --color-primary: #0E6563;
    --color-secondary: #54595F;
    --color-accent: #61CE70;
    --color-text: #7A7A7A;
    --color-text-dark: #141010;
    --color-text-light: #EFF2FF;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-light: #F7F7F7;
    --color-gray-medium: #D0D8EA;
    --color-gray-dark: #566892;
    --color-border: #F5F5F5;
    --color-overlay: rgba(6, 20, 12, 0.55);
    --color-footer-overlay: rgba(22, 22, 22, 0.85);
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 30px;
    --spacing-lg: 50px;
    --spacing-xl: 80px;
    --spacing-xxl: 100px;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 20px;
    
    /* Border Radius */
    --radius-sm: 3px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-sm: 0px 0px 10px 0px rgba(0,0,0,0.1);
    --shadow-md: 0px 0px 15px 0px rgba(0,0,0,0.15);
    --shadow-lg: 0px 10px 30px 0px rgba(208, 216, 234, 0.3);
    --shadow-card: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-semibold);
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

figure {
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-bold);
    text-align: center;
    text-transform: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #0a4f4d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: #0a4f4d;
}

/* Page Title Display (from Elementor) */
h1.entry-title,
.page-title-display {
    display: none;
}