body {
    font-family: 'Figtree', sans-serif;
    background-color: #FFF9ED; /* Cream Background */
    color: #181818; /* Dark Text */
    -webkit-font-smoothing: antialiased;
    /* Skyline Background for Frontend - Urban Sketch Style */
    background-image: url('/images/Layer_1.png'); /* High contrast city skyline */
    background-size: cover;
    background-position: center bottom;
    background-blend-mode: multiply; /* Stronger blend to show texture */
    background-attachment: fixed;
}
/* Fade background on admin view */
body.admin-open {
    background-image: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', serif;
    color: #CCA959 !important; /* Title Color */
}
/* Tagline: Explicit color per phrase */
.tagline-gradient {
    display: inline-block;
}
.tagline-gradient .tagline-half { display: inline; }
.tagline-gradient .tagline-dark { color: #181818; }
.tagline-gradient .tagline-gold { color: #CCA959; }

/* Header Brand: centered and larger logo */
nav { position: relative; }
.brand-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; }
.logo-img { height: 48px; width: auto; }
@media (min-width: 768px) {
    .logo-img { height: 64px; }
}
@media (min-width: 1024px) {
    .logo-img { height: 72px; }
}

/* Premium Color Palette Utilities */
/* Text Colors */
.text-charcoal { color: #181818; }
.bg-charcoal { background-color: #181818; }

/* Gold Colors */
.text-gold { color: #CCA959; }
.bg-gold { background-color: #CCA959; }
.border-gold { border-color: #CCA959; }
.hover-bg-gold:hover { background-color: #b08d45; }

/* Form Inputs - Enhanced Visibility */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db; /* Darker border for visibility */
    border-radius: 4px; 
    background-color: #FFFFFF;
    transition: all 0.2s ease-in-out;
    font-size: 1rem;
    color: #181818; /* Sharp dark text */
    font-weight: 500;
}
.form-input::placeholder {
    color: #6b7280; /* Darker placeholder */
}
.form-input:focus {
    outline: none;
    border-color: #CCA959;
    ring: 2px solid rgba(204, 169, 89, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Label Styling */
label {
    color: #181818 !important;
    font-weight: 700 !important;
    opacity: 0.9;
}

/* Buttons */
button {
    border-radius: 4px !important;
}

/* Global Button Override to Gold */
#btn-submit, #btn-send-otp, .bg-charcoal, button[type="submit"] {
    background-color: #CCA959 !important;
    color: #ffffff !important;
}
#btn-submit:hover, #btn-send-otp:hover, .bg-charcoal:hover {
    background-color: #b08d45 !important;
}
#btn-submit:disabled, #btn-send-otp:disabled {
     background-color: #e5e7eb !important;
     color: #9ca3af !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Checkbox Customization */
.project-checkbox:checked + div {
    border-color: #CCA959;
    background-color: #FFF9ED;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.project-checkbox:checked + div .check-icon {
    background-color: #CCA959 !important;
    border-color: #CCA959 !important;
    color: white !important;
}

/* Admin Overlay Transition */
#admin-view {
    transition: opacity 0.3s ease-in-out;
    background-color: #FFF9ED; /* Match page bg for admin too per request */
}

/* Ensure table text wraps properly in admin */
.whitespace-normal {
    white-space: normal !important;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 { font-size: 2rem !important; line-height: 1.2 !important; }
    h3 { font-size: 1.5rem !important; }
}