/* Common styles shared across all pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --primary-blue: #0066CC;
    --dark-blue: #003D7A; */
    --primary-blue: #003087;
    --dark-blue: #1F3A60;
    --primary-orange: #C17508;
    --teal-accent: #00A99D;
    --light-blue: #E6F2FF;
    
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-weight: 700;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-gray);
}

/* Hide scrollbar completely for all browsers */
html {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    overflow-x: hidden;
}

/* ============================================================
   PAGE LOADER — shared across all frontend pages
   ============================================================ */
.ph-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
    gap: 1.25rem;
}

.ph-loader__ring {
    position: relative;
    width: 52px;
    height: 52px;
}

/* Outer track */
.ph-loader__ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid var(--gray-200);
}

/* Spinning arc */
.ph-loader__ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-blue);
    border-right-color: var(--primary-blue);
    animation: ph-spin 0.75s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.ph-loader__text {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    animation: ph-pulse 1.5s ease-in-out infinite;
}

@keyframes ph-spin {
    to { transform: rotate(360deg); }
}

@keyframes ph-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Utility Classes */
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Coming Soon Modal Styles */
.coming-soon-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.coming-soon-modal.show {
    display: flex;
}

.coming-soon-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.coming-soon-content i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.coming-soon-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.coming-soon-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.coming-soon-content button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.coming-soon-content button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 69, 132, 0.3);
}

