/* ======= GLOBAL UTILITIES ======= */
:root {
    --gold: #dcb651; /* Defines your gold color once for the whole site */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HOME PAGE HERO BANNER
   ========================================== */
.hero-home {
    height: 80vh; 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

/* This adds the dark tint to the desert image */
.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.hero-home .container {
    position: relative;
    z-index: 2;
}

.hero-home h1 {
    font-size: 65px;       /* Increased from 48px */
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;      /* Adds space between the 3 lines */
    max-width: 900px;      /* Ensures the text has room to spread out */
    margin-left: auto;
    margin-right: auto;
}

.hero-home p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Core Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #333;
}

/* Colors */
:root {
    --gold: #dcb651;
    --black: #111111;
}

/* Hero Style (Image 1) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/dunes.jpg');
    background-size: cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 50px;
    font-weight: 700;
    max-width: 800px;
}

/* Gold Button Style */
.btn-gold {
    background-color: var(--gold);
    color: black;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
}

/* Footer Style (Image 7) */
.dark-footer {
    background-color: var(--black);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.dark-footer a {
    color: var(--gold);
    text-decoration: none;
}

/* ==========================================================================
   SUB-PAGE & REGISTRATION STYLES
   ========================================================================== */
.function-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}
/* Function List Styling */
.function-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.function-list li {
    background: #fdfdfd;
    border-left: 5px solid #dcb651; /* The NCAQS Gold */
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 16px;
    transition: 0.3s;
}

.function-list li:hover {
    transform: translateX(10px);
    background: #fff;
}

.function-list i {
    color: #dcb651;
    margin-right: 15px;
    font-size: 20px;
}

.lead-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.section-title {
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Smaller Hero for Sub-pages */
.small-hero {
    padding: 60px 0;
}

/* Table Styles for Fees Page */
.ncaqs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #eee;
}

.ncaqs-table thead th {
    background-color: #111;
    color: #dcb651;
    text-transform: uppercase;
    font-size: 14px;
    padding: 15px;
    border: none;
}

.ncaqs-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    vertical-align: middle;
}

.ncaqs-table tbody tr:hover {
    background-color: #fcfcfc;
}

.highlight-row {
    background-color: #fff9eb;
    font-weight: 600;
}

.text-right {
    text-align: right;
}

.table-responsive {
    overflow-x: auto;
}
/* Download Card Styles */
.download-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 20px;
    transition: 0.3s;
}

.download-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #dcb651;
}

.download-card .icon-side {
    background: #f4f4f4;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-card .icon-side i {
    font-size: 40px;
    color: #e74c3c; /* Red for PDF */
}

.download-card .text-side {
    padding: 20px;
}

.download-card h4 {
    margin: 0 0 5px;
    font-weight: 700;
}

.btn-download {
    display: inline-block;
    margin-top: 10px;
    color: #dcb651;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
}

/* Checklist Box */
.checklist-box {
    background: #111;
    color: #fff;
    padding: 30px;
}

.checklist-box h4 {
    color: #dcb651;
    margin-bottom: 20px;
    font-weight: 700;
}

.check-items {
    list-style: none;
    padding: 0;
}

.check-items li {
    margin-bottom: 12px;
    font-size: 14px;
}

.check-items i {
    color: #dcb651;
    margin-right: 10px;
}
/* Breadcrumb Styles */
.breadcrumb-bar {
    background: #fdfdfd;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.page-title { font-size: 24px; font-weight: 700; margin: 0; }
.breadcrumb-links { list-style: none; padding: 0; margin: 0; font-size: 13px; color: #888; }
.breadcrumb-links li { display: inline; }
.breadcrumb-links li + li:before { content: "/ "; padding: 0 5px; }
.breadcrumb-links a { color: var(--gold); text-decoration: none; }

/* APC Hero Section */
.apc-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}
.hero-text-large { font-size: 48px; font-weight: 700; margin-bottom: 30px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.btn-apc-apply {
    background: var(--gold);
    color: #000;
    padding: 15px 40px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
}

/* Overview Section with Pattern */
.gold-bg-pattern {
    background-color: #dcb651;
    background-image: url('images/honeycomb-pattern.png'); /* You will need a faint hex pattern image */
    background-size: cover;
    color: #333;
}
.content-heading { font-weight: 700; font-size: 32px; margin-bottom: 25px; }
.apc-list { padding-left: 20px; line-height: 2; font-size: 16px; margin-bottom: 30px; }
.exam-dates-box { background: rgba(255,255,255,0.1); padding: 20px; border-top: 1px solid rgba(0,0,0,0.1); }
.date-title { font-weight: 700; margin-top: 15px; }

/* Black Box for Rules & Regulations */
.rules-black-box {
    background: #000;
    padding: 60px 40px;
    color: white;
}
.gold-text { color: #dcb651 !important; font-weight: 700; margin-bottom: 25px; }

/* Sub-hero with Dark Overlay */
.sub-hero-overlay {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.sub-hero-overlay::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.sub-hero-overlay .container { position: relative; z-index: 2; }

/* Spacing and Text Area */
.content-text-area p { line-height: 1.8; margin-bottom: 20px; font-size: 15px; color: #555; }

/* Publications Grid */
.pub-grid-section {
    padding: 80px 0;
    background-size: cover;
    background-attachment: fixed;
}

.pub-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    text-decoration: none !important;
    transition: 0.3s;
    position: relative;
    padding: 20px;
    text-align: center;
}

.tile-white { background: #ffffff; color: #333; }
.tile-gold { background: #dcb651; color: #333; }

.pub-tile h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.plus-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    border: 1px solid currentColor;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.pub-tile:hover {
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact Page Specifics */
.huge-title {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: -2px;
}

.contact-info-grid h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-info-grid p {
    color: #777;
    line-height: 1.6;
}

/* Partner Logos */
.partner-row {
    margin-top: 50px;
}

.partner-box {
    margin-bottom: 30px;
    padding: 0 20px;
}

.partner-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.grey-bg {
    background-color: #f9f9f9;
}

/* Reusable Button Style */
.btn-apc-apply {
    background: #dcb651;
    color: #000;
    border: none;
    font-weight: 600;
    padding: 12px 20px;
    text-transform: uppercase;
    font-size: 12px;
    transition: 0.3s;
}

.btn-apc-apply:hover {
    background: #c5a144;
    color: #000;
}

/* ======= ABOUT US SECTION ======= */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.about-content {
    max-width: 900px; /* Limits width so the lines aren't too long to read */
    margin: 0 auto;
}

.section-title-large {
    font-size: 42px;
    font-weight: 800;
    color: #444;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* Specific Bold Style */
.about-content strong {
    color: #333;
    font-weight: 700;
}

/* Gold Find Out More Button */
.btn-find-more {
    display: inline-block;
    background-color: #dcb651; /* NCAQS Gold */
    color: #ffffff;
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-find-more:hover {
    background-color: #c5a144;
    transform: translateY(-2px);
}
/* ======= OUR HISTORY GOLD LAYOUT ======= */
.history-gold-section {
    background-color: #111111; /* Dark background */
    padding: 100px 0;
}

/* Title on the left - Gold */
.history-gold-title {
    color: #dcb651; 
    font-size: 36px;
    font-weight: 800;
    margin-top: 0;
    letter-spacing: 1px;
}

/* Body on the right - Gold */
.history-gold-body p {
    color: #dcb651; 
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Responsive: On small screens, they will stack normally */
@media (max-width: 768px) {
    .history-gold-title {
        margin-bottom: 30px;
    }
}.section-spacer {
    display: block;          /* Forces it to be a solid block */
    clear: both;            /* Makes sure it doesn't wrap around anything else */
    width: 100%;
    height: 400px; 
    background-image: url('../images/home/spacer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* ======= FIND A PROFESSIONAL SECTION ======= */
.find-professional {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.section-title-center {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #333;
    text-transform: uppercase;
}

.professional-card {
    background-color: #f8f8f8; /* Soft gray background */
    padding: 50px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    transition: 0.3s;
}

.prof-icon {
    font-size: 50px;
    color: #dcb651; /* NCAQS Gold */
    margin-bottom: 20px;
}

.professional-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.btn-view-list {
    display: inline-block;
    background-color: #dcb651;
    color: #fff;
    padding: 12px 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px; /* Rounded button style */
    transition: 0.3s;
}

.btn-view-list:hover {
    background-color: #c5a144;
    color: #fff;
    transform: translateY(-3px);
}
/* ======= UPDATED SPACER (No Gold Line) ======= */
.section-spacer {
    display: block;
    clear: both;
    width: 100%;
    height: 400px; 
    background-image: url('../images/home/spacer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: none; /* Removed the gold line here */
}

/* ======= SINGLE SEARCH BUTTON STYLES ======= */
.find-professional {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

.search-container p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.btn-search-main {
    display: inline-block;
    background-color: #dcb651; /* NCAQS Gold */
    color: #000;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-search-main i {
    margin-right: 15px; /* Spaces the magnifying glass from the text */
}

.btn-search-main:hover {
    background-color: #c5a144;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
/* ======= FIND A PROFESSIONAL (GOLD BACKGROUND VERSION) ======= */
.find-professional-gold {
    background-color: #dcb651; /* Your NCAQS Gold */
    padding: 100px 0;
    text-align: center;
}

.professional-title {
    font-size: 60px; /* Large title like the screenshot */
    font-weight: 500;
    color: #111;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.btn-search-dark {
    display: inline-block;
    background-color: #333333; /* Dark button background */
    color: #ffffff !important;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-search-dark i {
    margin-right: 10px;
    font-size: 14px;
}

.btn-search-dark:hover {
    background-color: #000000;
    transform: translateY(-2px);
}
/* ======= COUNCIL SECTION & CAROUSEL ======= */
.council-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.council-main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
}

.council-subtitle {
    font-size: 18px;
    color: #444;
    margin-bottom: 60px;
}

/* 1. Container with side breathing room */
.council-carousel {
    padding: 0 70px; 
    position: relative;
}

.member-item {
    padding: 0 15px; 
    outline: none;
}

.member-item img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-radius: 4px;
}

.member-item h4 {
    font-size: 20px;
    font-weight: 800;
    color: #1a2c4e;
    margin-bottom: 5px;
    text-transform: none;
}

.member-item span {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    display: block;
    font-weight: 500;
}

/* ======= ABSOLUTE MINIMAL GOLD ARROWS (THE NUKE) ======= */

/* Target the button AND the icon layer to strip all backgrounds */
button.slick-prev, 
button.slick-next,
button.slick-prev:hover,
button.slick-prev:focus,
button.slick-next:hover,
button.slick-next:focus,
button.slick-prev::before,
button.slick-next::before {
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Style the Arrow Icon Glyphs */
.slick-prev:before, 
.slick-next:before {
    font-family: 'slick' !important;
    color: #dcb651 !important; /* NCAQS Gold */
    font-size: 50px !important;
    opacity: 1 !important;
    transition: color 0.3s ease;
    line-height: 1 !important;
}

/* Precise positioning to ensure they sit on the white space */
.slick-prev { 
    left: 10px !important; 
    z-index: 1000 !important; 
    width: 50px !important;
    height: 50px !important;
}

.slick-next { 
    right: 15px !important; 
    z-index: 1000 !important; 
    width: 50px !important;
    height: 50px !important;
}

/* Hover color change */
.slick-prev:hover:before, 
.slick-next:hover:before {
    color: #c5a144 !important;
}
/* ======= CONTACT SECTION ======= */
.contact-section {
    padding: 120px 0; /* Massive vertical spacing */
    background-color: #f8f6f9; /* The specific light grey/lilac background */
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Internal padding so text doesn't hit screen edges */
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 80px; /* Space between the two columns */
    align-items: flex-start;
}

/* Left Column Styling */
.contact-text-col {
    flex: 1;
}

.contact-label {
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8; /* Muted blue-grey label */
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.contact-main-heading {
    font-size: 52px; /* Large, bold heading */
    font-weight: 800;
    color: #1a2c4e; /* Deep NCAQS Blue/Black */
    margin-bottom: 35px;
    line-height: 1.1;
}

.contact-blurb {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    max-width: 480px;
}

/* Right Column / Form Styling */
.contact-form-col {
    flex: 1.2;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 20px;
    margin-bottom: 20px;
}

.ncaqs-form input, 
.ncaqs-form textarea {
    width: 100%;
    padding: 18px;
    background-color: #ffffff; /* White inputs against the grey background */
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease;
}

/* Gold focus effect when clicking into a box */
.ncaqs-form input:focus, 
.ncaqs-form textarea:focus {
    border-color: #dcb651;
    box-shadow: 0 0 5px rgba(220, 182, 81, 0.2);
}

.ncaqs-form textarea {
    margin-bottom: 25px;
    resize: none; /* Prevents user from messing up the layout */
}

.form-footer {
    text-align: right;
}

/* ======= SEND MESSAGE BUTTON (LOGIN STYLE) ======= */

.form-footer {
    text-align: right;
    margin-top: 20px;
}

.btn-login-style {
    background-color: #dcb651 !important; /* The NCAQS Gold */
    color: #1a2c4e !important;           /* Dark Navy/Black text */
    padding: 12px 35px !important;       /* Pill shape padding */
    border-radius: 50px !important;      /* Makes it a pill */
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-login-style:hover {
    background-color: #c5a144 !important; /* Slightly darker gold on hover */
    transform: translateY(-2px);           /* Subtle lift effect */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* ======= OVERVIEW HERO (LEFT ALIGNED) ======= */
.overview-hero {
    height: 700px;
    background-size: cover;
    /* This ensures the person/helmet is on the right while text is on the left */
    background-position: center right; 
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* Vertically centers the text box */
    justify-content: flex-start; /* Horizontally aligns the content to the left */
    color: #fff;
}

.overview-hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Gives the text some breathing room from the left edge */
}

.hero-content {
    text-align: left; /* Forces text alignment to the left */
}

.hero-content h1 {
    font-size: 64px; 
    font-weight: 600;
    line-height: 1.1;
    max-width: 750px; /* Limits width so it breaks exactly where you want */
    margin: 0;
    text-transform: none; /* Keeps the casing as you typed it */
    text-shadow: 2px 2px 15px rgba(0,0,0,0.3); /* Makes white text readable over the brown background */
}

/* Mobile responsive alignment */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 38px;
    }
    .overview-hero {
        height: 500px;
    }
}
/* ======= OVERVIEW SPLIT LAYOUT ======= */
.overview-detail {
    padding: 100px 0 0 0; /* Space at top, 0 at bottom for the gold bar */
    background-color: #fff;
}

.split-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px; /* Space between text and gold bar */
}

/* Forces OVERVIEW to the left */
.split-title {
    flex: 1;
}

.split-title h2 {
    font-size: 52px;
    font-weight: 900; /* Extra bold */
    color: #000;
    margin: 0;
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* Forces the body text to the right */
.split-body {
    flex: 1.6; /* Makes the body wider than the title */
}

.split-body p {
    font-size: 19px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

/* The Thick Gold Bar at the bottom */
.gold-separator {
    width: 100%;
    height: 50px;
    background-color: #dcb651; /* Your NCAQS Gold */
}

/* Mobile Fix */
@media (max-width: 991px) {
    .split-layout {
        flex-direction: column;
        gap: 30px;
    }
    .split-title h2 { font-size: 38px; }
}
/* ======= MANDATE GOLD BLOCK ======= */
.mandate-block {
    background-color: #dcb651; /* NCAQS Gold */
    padding: 100px 0;
    color: #000; /* Dark text as seen in screenshot */
    font-family: 'Montserrat', sans-serif;
}

.mandate-inner {
    max-width: 900px;
}

.mandate-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.mandate-lead {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 25px;
}

.mandate-bullets {
    list-style: none;
    padding: 0;
    margin: 30px 0 50px 0;
}

.mandate-bullets li {
    font-size: 19px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.mandate-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* White Pill Button */
.btn-download-act {
    display: inline-block;
    background-color: #ffffff;
    color: #000;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-download-act:hover {
    background-color: #1a2c4e;
    color: #fff;
}
/* ======= PREMIUM PILLAR GRID ======= */
.grid-nav-section {
    padding: 100px 0;
    background-color: #f9f9f9; /* Light grey bg to make white boxes pop */
}

.premium-grid {
    display: grid;
    /* Column 1 (Pillar) is 0.8fr, others are 1fr */
    grid-template-columns: 0.8fr 1fr 1fr 1fr; 
    grid-template-rows: repeat(2, 200px); /* Fixed height for symmetry */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* ======= TRIM PATH NAV SECTION ======= */
.grid-nav-section {
    padding: 100px 0;
    background-color: #f9f9f9; /* Light contrast bg */
}

/* Base Flex Container */
.grid-container-tweak {
    display: flex;
    gap: 15px; /* Tight gap */
    max-width: 1200px;
    margin: 0 auto;
}

/* Helper Class: Perfectly centered content */
.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

/* --- The Gold Pillar (Custom widths & height) --- */
.pillar-fixed {
    flex: 0 0 calc((100% / 3) / 1.6); /* Pillar is 0.6 times wide as a normal tile */
    height: 395px; /* Matches height of 2 tiles + tight gap */
}

.pillar-link {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: #dcb651; /* NCAQS Gold */
    text-decoration: none;
    transition: 0.3s ease;
}

.box-content-pillar {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Arrow at bottom */
    height: 100%;
    padding: 30px;
}

.pillar-top {
    margin-top: 50%; /* Adjusted for pillar visual center */
}

.pillar-label {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 20px;
}

.gold-text-pillar {
    font-size: 26px;
    font-weight: 900;
    color: #1a2c4e; /* Dark navy */
    margin: 0;
    text-transform: uppercase;
}

.pillar-bottom {
    font-size: 28px;
}

.pillar-link:hover {
    background-color: #c9a546; /* Slightly darker gold hover */
    transform: translateX(-5px); /* Premium interaction */
}

/* --- Tiles Grid --- */
.tiles-wrapper {
    flex: 1; /* Fills remaining space */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Vertical gap */
}

.tile-row {
    display: flex;
    gap: 15px; /* Horizontal gap */
}

/* Common Tile Styles */
.tile-base, .trim-tile {
    flex: 1;
    height: 190px;
    text-decoration: none;
    position: relative; /* Essential for trim path positioning */
    overflow: hidden; /* Clips the segments before they move into place */
    transition: 0.4s ease;
}

.tile-inner h3 { font-size: 18px; font-weight: 800; margin: 0; }
.tile-inner p { font-size: 14px; margin-top: 5px; opacity: 0.8; color: inherit; }

/* Black Boxes */
.black-box-tile { background-color: #111; color: #fff; }
.black-box-tile:hover {
    background-color: #000;
    transform: translateY(-5px);
}

/* ======= UNIFORM GRID WITH TRIM PATH ======= */
.grid-nav-section {
    padding: 100px 0;
    background-color: #fff;
}

.uniform-trim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal width columns */
    grid-template-rows: repeat(2, 200px); /* 2 equal height rows */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-tile {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    overflow: hidden; /* Clips the trim path segments */
    transition: transform 0.3s ease;
}

.tile-inner h3 { font-size: 20px; font-weight: 800; margin: 0; }
.tile-inner p { font-size: 15px; margin-top: 5px; }
.gold-icon { color: #dcb651; font-size: 24px; margin-bottom: 10px; display: block; }

/* --- Specific Tile Styles --- */
.black-tile {
    background-color: #000;
    color: #fff;
}

.gold-pillar-tile {
    grid-row: span 2; /* Spans height of both rows */
    background-color: #dcb651;
    color: #1a2c4e;
}

.pillar-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

/* --- GOLD TRIM PATH ANIMATION --- */
.trim-seg {
    position: absolute;
    background: #dcb651; /* Gold trim for all boxes */
    transition: all 0.2s linear;
}

/* Position the segments */
.trim-top { top: 0; left: 0; width: 0; height: 4px; }
.trim-right { top: 0; right: 0; width: 4px; height: 0; }
.trim-bottom { bottom: 0; right: 0; width: 0; height: 4px; }
.trim-left { bottom: 0; left: 0; width: 4px; height: 0; }

/* Sequential Hover Animation */
.grid-tile:hover .trim-top { width: 100%; transition-delay: 0s; }
.grid-tile:hover .trim-right { height: 100%; transition-delay: 0.15s; }
.grid-tile:hover .trim-bottom { width: 100%; transition-delay: 0.3s; }
.grid-tile:hover .trim-left { height: 100%; transition-delay: 0.45s; }

/* Pillar specific trim (optional: make it darker gold for contrast) */
.gold-pillar-tile .trim-seg { background: #1a2c4e; } 

/* Hover Lift */
.grid-tile:hover {
    transform: translateY(-5px);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .uniform-trim-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gold-pillar-tile { grid-row: span 1; height: 200px; }
}
/* ======= SUBPAGE STYLING ======= */

.subpage-header {
    background-color: #f8f8f8; 
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
}

/* This makes the title and breadcrumb sit on one line inside the 1200px limit */
.header-flex {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.subpage-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin: 0;
    text-transform: capitalize;
}

.breadcrumb {
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: var(--gold); /* Uses the gold from your :root */
    text-decoration: none;
    font-weight: 600;
}

/* Main Content Area */
.functions-content {
    padding: 80px 0;
    background-color: #fff;
}

.content-wrapper {
    max-width: 1000px; 
    /* This ensures the text stays in a readable block even on large screens */
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a2c4e; /* NCAQS Navy */
    margin-bottom: 35px;
}

.intro-text, .comparison-text {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

/* Numbered List Styling */
.functions-list {
    margin: 30px 0;
    padding-left: 20px;
    color: #444;
}

.functions-list li {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-flex { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 10px; 
    }
    .content-wrapper { padding: 0 15px; }
}
	
/* ============================================================
   NCAQS FINAL GLOBAL UI ENGINE - REPAIRED & VERIFIED
   ============================================================ */
/* --- 1. GLOBAL NAVIGATION --- */
.main-nav {
    background: #fff !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #eee !important;
    position: sticky !important;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.flex-header {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal */
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* LOGO SHIELD: Prevents the massive logo bug */
.logo img {
    height: 60px !important;
    width: auto !important;
    display: block !important;
}

.menu {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal links */
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

.menu > li { 
    position: relative; 
    padding: 0 12px !important; 
}

.menu > li > a {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.menu li.active > a, .menu li > a:hover { 
    color: #dcb651 !important; /* NCAQS Gold */
}

/* --- 2. DROPDOWNS --- */
.submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Professional soft shadow */
    border-top: 3px solid #dcb651; /* Gold accent line */
    padding: 10px 0;
    z-index: 1000;
    list-style: none !important;
}

/* Triggers the dropdown on hover */
.menu li.dropdown:hover .submenu { 
    display: block !important; 
}

.submenu li a {
    display: block !important;
    padding: 12px 25px !important;
    color: #444 !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important; /* Prevents all-caps in dropdowns */
    border-bottom: 1px solid #f2f2f2;
    transition: all 0.3s ease;
}

/* Hover effect inside the dropdown */
.submenu li a:hover {
    background-color: #fcf9f2 !important; /* Pale gold background */
    color: #dcb651 !important;
    padding-left: 30px !important; /* Nudges text to the right */
}

.submenu li:last-child a { border-bottom: none; }

/* --- 3. MEMBER LOGIN BUTTON --- */
.member-login-btn {
    background: #dcb651 !important; /* NCAQS Gold */
    color: #000 !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    margin-left: 20px !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: 0.3s;
}

.member-login-btn:hover {
    background-color: #c49f42 !important; /* Darker gold on hover */
}
/* --- 4. GLOBAL FOOTER --- */
.main-footer {
    background-color: #0a0503 !important;
    color: #fff !important;
    padding: 80px 0 0 0 !important;
    margin-top: 60px;
    display: block !important;
}

/* 1. Aligns text and the action group */
.footer-top-flex {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    gap: 40px;
}

/* 2. Grouping container to stack Form and Icons */
.footer-action-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Keeps everything right-aligned */
    gap: 15px;
}

.footer-form-col {
    display: flex !important;
    gap: 12px;
    align-items: center;
}

.footer-form-col input {
    width: 300px;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 14px;
}

.btn-footer-sub {
    background: #fff !important;
    color: #000 !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

/* 3. Social Icons: Centered under the button */
.footer-socials {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 20px;
    padding: 0 !important;
    margin-right: 15px; /* Slight nudge for balance */
}

.footer-socials a { 
    color: #dcb651 !important; /* NCAQS Gold */
    font-size: 24px;
    text-decoration: none; 
    transition: 0.3s;
}

.footer-socials a:hover { color: #fff !important; }

/* 4. Centered Copyright Bar */
.footer-bottom-bar {
    background: #000;
    padding: 30px 20px !important;
    text-align: center !important; /* Centers copyright text */
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-bar .container { max-width: 1200px; margin: 0 auto; }

.gold-text-footer {
    color: #dcb651;
    font-weight: 700;
}

/* 5. Zuri Media Branding */
.zuri-link {
    color: #a3de3f !important; /* Your specific Zuri Green */
    text-decoration: none;
    font-weight: 700;
}

.zuri-link:hover { text-decoration: underline; color: #fff !important; }

/* --- 5. MOBILE OVERRIDE --- */
@media (max-width: 991px) {
    .footer-top-flex { 
        flex-direction: column !important; 
        text-align: center; 
    }
    .footer-action-col {
        align-items: center !important; /* Center on mobile */
    }
    .footer-form-col { 
        flex-direction: column !important; 
        width: 100%;
    }
    .footer-form-col input { width: 100%; }
}
/* --- 6. SUBPAGE & CONTENT LAYOUT --- */

/* Ensures the page starts below the sticky menu */
.subpage-header {
    background-color: #f8f9fa; /* Light grey professional background */
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}

.subpage-header h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    color: #1a2c4e !important; /* Deep Navy */
    margin: 0;
    font-size: 32px !important;
    text-transform: uppercase;
}

.breadcrumb {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #888;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: #dcb651; /* NCAQS Gold */
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #1a2c4e;
}

/* Fix for the main text area */
.page-content-padding {
    background: #ffffff;
    min-height: 400px;
}

/* Custom Checkmark List for Functions */
.custom-list li {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #444 !important;
}
/* --- 9. OVERVIEW SECTION STYLES --- */
.btn-find-out {
    display: inline-block;
    background-color: #ffffff; /* White button as per screenshot */
    color: #000000;
    padding: 12px 35px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px; /* Slightly squared like the screenshot */
    transition: 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn-find-out:hover {
    background-color: #dcb651; /* Turns gold on hover */
    color: #fff;
    transform: translateY(-2px);
}

.overview-text ol li {
    margin-bottom: 10px;
}
/* --- 10. MONUMENTAL MOMENTS LIST --- */

.reg-list-item {
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.reg-list-item a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #444;
    font-size: 16px;
    transition: 0.3s;
}

.reg-list-item i {
    margin-right: 15px;
    color: #dcb651; /* Gold arrow */
    font-size: 14px;
    transition: 0.3s;
}

/* HOVER EFFECT: List item turns gold, text/arrow turn white */
.reg-list-item:hover {
    background-color: #dcb651;
}

.reg-list-item:hover a {
    color: #fff;
    padding-left: 30px; /* Slight slide effect */
}

.reg-list-item:hover i {
    color: #fff;
}
/* --- DISCIPLINARY: PREMIUM RULES SECTION --- */

.btn-premium-download {
    display: inline-block;
    padding: 16px 45px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000; /* Force Black */
    background: transparent;
    border: 2px solid #000000; /* Force Black border */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.btn-premium-download:hover {
    color: #ffffff !important;
    border-color: #dcb651 !important;
}

.btn-premium-download::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #dcb651;
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-premium-download:hover::after {
    width: 100%;
}

/* Responsive Fix for Mobile */
@media (max-width: 991px) {
    .rules-modern-section .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .rules-modern-section div:first-child {
        border-left: none !important;
        padding-left: 0 !important;
        border-bottom: 3px solid #dcb651;
        padding-bottom: 20px;
    }
}

/* The Gold Slide-In Hover Effect */
.btn-premium-download::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #dcb651;
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-premium-download:hover::after {
    width: 100%;
}

/* Responsive adjustment for the side-by-side layout */
@media (max-width: 991px) {
    .rules-modern-section .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .rules-modern-section div {
        border-left: none !important;
        padding-left: 0 !important;
        border-bottom: 3px solid #dcb651;
        padding-bottom: 20px;
    }
}
/* --- PUBLICATIONS GRID & ANIMATION --- */

.pub-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pub-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-height: 350px; /* Forces all tiles to be the same size */
    padding: 40px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); /* Architectural smooth timing */
    border-radius: 0px; /* Keeps it sharp and professional */
    position: relative;
}

.pub-card .icon-box i {
    font-size: 35px;
    color: #dcb651;
    margin-bottom: 25px;
    transition: transform 0.5s ease;
}

.pub-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.pub-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    max-width: 200px;
}

/* --- ANIMATION STYLES --- */

.pub-card.active:hover {
    transform: translateY(-15px);
    border-color: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Icon jump on hover */
.pub-card.active:hover .icon-box i {
    transform: scale(1.2);
}

/* Link reveal animation */
.pub-link {
    margin-top: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #dcb651;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.pub-card.active:hover .pub-link {
    opacity: 1;
    transform: translateY(0);
}

/* --- PLACEHOLDER (NON-ACTIVE) --- */

.pub-card.placeholder {
    background: #fafafa;
    opacity: 0.5;
    cursor: not-allowed;
}

.pub-card.placeholder .icon-box i {
    color: #bbb;
}

.pub-card.placeholder h3 {
    color: #999;
}
/* --- UPDATED TEXTURED GRADIENT TILES --- */

.pub-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.pub-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 380px !important; /* Slightly taller for better proportions */
    padding: 40px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* STRONGER GRADIENT & TEXTURE */
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%) !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.02);
}

.pub-card.active:hover {
    transform: translateY(-15px) !important;
    background: #ffffff !important; 
    border-color: #dcb651 !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

/* Ensure icons are visible */
.pub-card .icon-box i {
    font-size: 45px;
    color: #dcb651;
    margin-bottom: 25px;
    display: block;
}

.pub-card.placeholder {
    /* Muted, darker gradient for inactive tiles */
    background: linear-gradient(145deg, #f5f5f5 0%, #e8e8e8 100%) !important;
    opacity: 0.7;
    filter: grayscale(1);
    border: 1px dashed #ccc !important;
}
/* --- PUBLICATIONS HERO --- */
.publications-hero {
    margin-top: 85px; /* Adjust based on your header height */
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    background-image: url('../images/publications/keyboard.png');
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
}

.gold-line {
    width: 70px;
    height: 5px;
    background: #dcb651;
    margin-top: 20px;
}

/* --- TILES GRID --- */
.publications-grid {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gold-line-small {
    width: 50px;
    height: 3px;
    background: #dcb651;
    margin: 15px auto;
}

.pub-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pub-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 380px;
    padding: 40px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Textured Gradient Effect */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.7) 100%);
    border: 1px solid #e8e8e8;
}

/* --- ANIMATIONS --- */
.pub-card.active:hover {
    transform: translateY(-15px);
    background: #ffffff;
    border-color: #dcb651;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.pub-card .icon-box i {
    font-size: 45px;
    color: #dcb651;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.pub-card.active:hover .icon-box i {
    transform: scale(1.1) rotate(-5deg);
}

.pub-link {
    margin-top: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #dcb651;
    letter-spacing: 2px;
    opacity: 0;
    transition: 0.3s ease;
}

.pub-card.active:hover .pub-link {
    opacity: 1;
}

/* --- PLACEHOLDERS --- */
.pub-card.placeholder {
    background: linear-gradient(145deg, #f9f9f9 0%, #f0f0f0 100%);
    opacity: 0.6;
    cursor: default;
    filter: grayscale(1);
    border: 1px dashed #ccc;
}
/* --- CONTACT HERO --- */
.contact-hero-main {
    margin-top: 85px; 
    position: relative;
    height: 450px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-texture-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/contact us/background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Adjust based on your image's intensity */
    z-index: 1;
}

.contact-header-text h1 {
    position: relative;
    z-index: 2;
    font-size: 80px;
    font-weight: 800;
    color: #000;
    letter-spacing: -2px;
}

/* --- INFO BLOCKS --- */
.contact-info-blocks {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-col {
    flex: 1;
    min-width: 250px;
    padding: 0 30px;
}

.border-left-gold {
    border-left: 2px solid #dfc151;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    color: #dfc151;
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- LOGO ROW --- */
.associations-section {
    padding: 100px 0;
}

.logo-row-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: end;
    text-align: center;
}

.logo-item img {
    max-height: 80px;
    margin-bottom: 25px;
}

.btn-gold-bounce {
    display: inline-block;
    background: #dfc151;
    color: #000;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-gold-bounce:hover {
    transform: translateY(-5px);
    background: #cbb040;
}

/* --- Hero & Homepage Styles --- */
.hero-title {
    font-size: 64px; 
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}
/* --- Home Hero Branding --- */
.hero-content-area {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centers items horizontally */
    justify-content: center; /* Centers items vertically */
    text-align: center;      /* Centers the text lines */
    width: 100%;
    padding: 100px 0;        /* Gives the desert background some height */
}

.hero-title {
    font-size: 64px; 
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

/* --- Home Hero Centering & Text Fit --- */
.hero-content-area {
    display: flex;
    flex-direction: column;
    align-items: center;    /* This centers the button and text horizontally */
    justify-content: center; 
    text-align: center;      
    width: 100%;
    padding: 120px 0;       
}

.hero-title {
    font-size: 58px;        /* Reduced from 64px to ensure it fits 3 lines */
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;    /* Space between title and subtext */
    text-align: center;
}

/* Ensure the button itself is centered if it's a block element */
.btn-gold {
    display: inline-block;
    margin: 0 auto;         /* Centers the button inside the flex container */
}
/* --- Mobile & Responsive Fixes --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px; 
}
/* Mobile Fixes */
@media (max-width: 991px) {
    .hero-title {
        font-size: 36px; /* Shrinks the 3 lines to fit mobile screens */
    }
	.logo-row-grid { grid-template-columns: repeat(2, 1fr); 
    
}
/* --- Final Gallery Grid Styles --- */
.gallery-section {
    padding: 60px 0 100px;
    background: #fff;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.gallery-item {
    flex: 1;
    min-width: 300px; /* Ensures they stack on small mobile screens */
    max-width: 540px; /* Keeps them side-by-side on desktop */
}

.gallery-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.gallery-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}