body { padding-top: 66px; }
.navbar-brand img { height: 35px; border-radius: 50%; margin-right: 10px; }
.hero-mask { background-color: rgba(0, 0, 0, 0.6); }

/* Footer Styles */
.footer-modern { background-color: #1c2331; color: #ECEFF1; }
.footer-modern a { color: #adadad; text-decoration: none; transition: all 0.3s ease; }
.footer-modern a:hover { color: #ffffff; padding-left: 5px; }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-interest-row { background: rgba(255,255,255,0.03); }

/* Social Buttons */
.social-btn { background: rgba(255,255,255,0.05); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; }
.social-btn:hover { background: #3b71ca; color: white; transform: translateY(-3px); }

/* Input Groups */
.input-group-modern .form-control { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; }
.input-group-modern .form-control:focus { background: rgba(255,255,255,0.1); border-color: #3b71ca; color: white; box-shadow: none; }

/* Navigation */
.nav-link.active { font-weight: 600; color: #3b71ca !important; }

/* Hero Section Default Background */
.hero-bg-default {
    background-image: url('https://storage.googleapis.com/customer-aquisition.appspot.com/img/osterComb.jpg'); 
    background-size: cover; 
    background-position: center 70%; 
    min-height: 300px;
}
/* ==================================================
   FINAL FIX: LOGO & SMART COMPACT HEADERS
   (Paste into static/css/base.css)
   ================================================== */

/* --- 1. FORCE LOGO SIZE --- */
/* Use !important to override the 32px inline style in base.html */
.navbar-brand img { 
    height: 40px !important; 
    width: 40px !important; 
    margin-right: 10px;
}
/* Optional: Bump the brand text size slightly if needed */
.navbar-brand span {
    font-size: 1.25rem !important;
}

/* --- 2. SMART COMPACT HEADERS (Excludes Home Page) --- */
/* We target 'main.mt-4'. Your base.html gives the home page 'mt-3' 
   and all other pages 'mt-4'. This ensures we NEVER affect the Home Page. */

main.mt-4 > .text-center:first-child {
    margin-bottom: 1.5rem !important;
    margin-top: 0.5rem !important;
    padding-bottom: 0 !important;
}

/* Title Styling */
main.mt-4 > .text-center:first-child h1 {
    font-size: 1.6rem !important;   /* Mobile: Compact (~25px) */
    color: #495057;
    margin-bottom: 0.25rem !important;
    letter-spacing: -0.5px;
    transition: font-size 0.3s ease;
}

/* Subtitle Styling */
main.mt-4 > .text-center:first-child p {
    display: block !important;
    font-size: 0.95rem !important;
    color: #adb5bd !important;
    margin-bottom: 0 !important;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- DESKTOP SCALING (Legibility Fix) --- */
@media (min-width: 992px) {
    /* Slightly larger on desktop so it doesn't look tiny, but still compact */
    main.mt-4 > .text-center:first-child h1 {
        font-size: 2.2rem !important; 
    }
    
    main.mt-4 > .text-center:first-child p {
        font-size: 1.1rem !important;
    }
}