/* =============================
   Fixed Header
============================= */

/* =============================
   Fixed Header
============================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* Start slightly transparent */
    padding: 15px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    /* Shrink header */
}

/* Logo and Branding */

.logo {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.logo img {
    width: 250px;
    /* Optimized default size */
    height: auto;
    transition: width 0.4s ease;
}

header.scrolled .logo img {
    width: 200px;
    /* Shrink logo on scroll */
}


/* Navigation Bar */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    /* Increased gap */
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    /* Darker for better contrast on white */
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* =============================
   Main Content Styles
============================= */

main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

/* =============================
   Footer Styling
============================= */

/* Global Text Spacing Adjustments */
body {
    line-height: 1.6;
    letter-spacing: 0.02em;
}

p {
    margin-bottom: 1.2rem;
}


/* =============================
   Footer Styling (Desktop Default)
============================= */

footer {
    background-color: #111111;
    color: #e0e0e0;
    padding: 50px 20px 30px;
    /* Reduced spacing */
    border-top: 4px solid var(--primary-color);
    font-family: var(--font-heading);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    /* Make logo white */
    max-width: 220px;
    opacity: 0.9;
}

.brand-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    max-width: 300px;
}

/* Social Icons (Row) */
.social-icons-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons-row a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons-row a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icons-row img,
.social-icons-row svg,
.social-icons-row .material-icons {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: white;
    filter: brightness(0) invert(1);
}

/* Columns & Links */
.footer-col h3 {
    color: var(--primary-color);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Contact Column */
.contact-col p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 15px;
}

.contact-col .material-icons {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
}

.contact-col a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-col a:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.admin-link {
    color: #444;
    text-decoration: none;
}

.admin-link:hover {
    color: var(--primary-color);
}

/* Accordion Icon (Desktop Hidden) */
.accordion-icon {
    display: none;
}

/* Hide Mobile CTA on Desktop */
.mobile-sticky-cta {
    display: none;
}

/* Refined Admin Login */
.admin-link {
    color: #444;
    text-decoration: none;
    font-size: 11px;
    opacity: 0.5;
    transition: all 0.3s;
}

.admin-link:hover {
    color: var(--primary-color);
    opacity: 1;
}