/* ---- General Page Styles ---- */
body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f4f8fa;
    color: #232323;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- Hero Section ---- */
.hero-section {
    min-height: 45vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ECBE5E;
    margin-bottom: 0;
    padding-top: 48px;
    padding-bottom: 48px;
}

.hero-section h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-section p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 28px;
}

/* ---- Search Bar ---- */
.home-searchbar .form-control {
    border-radius: 2rem 0 0 2rem;
    font-size: 1.15rem;
    height: 52px;
    box-shadow: none;
    border: 1.5px solid #ECBE5E;
    border-right: none;
}

.home-searchbar .input-group-append .btn {
    border-radius: 0 2rem 2rem 0;
    background: #ECBE5E;
    color: #232323;
    border: 1.5px solid #ECBE5E;
    height: 52px;
    font-size: 1.4rem;
    padding: 0 26px;
    transition: background 0.2s, color 0.2s;
}

.home-searchbar .input-group-append .btn:hover {
    background: #e8b02e;
    color: #232323;
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    .home-searchbar .form-control, .home-searchbar .input-group-append .btn {
        font-size: 1rem;
        height: 40px;
    }
}

/* ---- Organization Cards ---- */
.homepage-highlights {
    margin-top: 32px;
    margin-bottom: 32px;
}

.organization-card {
    background: #fffbea;
    border-radius: 1.3rem;
    box-shadow: 0 3px 16px rgba(0,0,0,0.07);
    transition: box-shadow 0.18s;
    padding: 28px 18px 18px 18px;
    min-height: 210px;
    border: 1px solid #ECBE5E;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.organization-card:hover {
    box-shadow: 0 8px 28px rgba(236,190,94, 0.13);
}

.organization-card .org-logo {
    display: block;
    margin: 0 auto 14px auto;
    border-radius: 100%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.organization-card .card-title {
    font-weight: 600;
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.organization-card .card-text {
    font-size: 1rem;
    color: #444;
    min-height: 48px;
    margin-bottom: 16px;
}

.organization-card .btn-primary {
    background: #ECBE5E;
    color: #232323;
    border: none;
    border-radius: 1.2rem;
    padding: 6px 24px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
}

.organization-card .btn-primary:hover {
    background: #e8b02e;
    color: #232323;
}

@media (max-width: 900px) {
    .homepage-highlights .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }
}

/* ---- Navbar: White & Orange ---- */
.navbar {
  background: #fff !important; /* White */
  color: #232323 !important;
  padding: 0;
  margin: 0;
}

.masthead, .header, .ckan-header {
  background: #fff !important; /* White */
  color: #232323 !important;
  border-bottom: 4px solid #ECBE5E !important; 
  padding: 0;
  margin: 0;
}


.navbar .navbar-brand, .ckan-header .brand, .masthead .brand {
  color: #232323 !important;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.navbar ul, .ckan-header ul, .masthead ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar ul li, .ckan-header ul li, .masthead ul li {
  margin: 0 12px;
}

.navbar a, .masthead a, .ckan-header a {
  color: #232323 !important;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 10px;
  display: block;
  transition: color 0.18s, background 0.18s, border-bottom 0.18s;
  border-radius: 2px;
}


.navbar a:hover, .navbar a.active, .navbar .active > a,
.ckan-header a:hover, .ckan-header a.active,
.masthead a:hover, .masthead a.active {
  background: none !important;
  color: #ECBE5E !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}



.navbar input[type="text"], .ckan-header input[type="text"], .masthead input[type="text"] {
  border-radius: 2rem 0 0 2rem;
  border: 1px solid #ECBE5E;
  padding: 7px 16px;
  font-size: 1rem;
  color: #232323;
}

.navbar .search-bar, .ckan-header .search-bar, .masthead .search-bar {
  display: flex;
  align-items: center;
}

.navbar .search-bar button, .ckan-header .search-bar button, .masthead .search-bar button {
  background: #ECBE5E;
  color: #232323;
  border: none;
  border-radius: 0 2rem 2rem 0;
  padding: 7px 18px;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: -5px;
}

.navbar .search-bar button:hover,
.ckan-header .search-bar button:hover,
.masthead .search-bar button:hover {
  background: #e8b02e;
  color: #232323;
}

/* ---- Footer: White & Orange ---- */
.footer, .site-footer, .ckan-footer {
  background: #fff !important;
  color: #232323 !important;
  border-top: 4px solid #ECBE5E;
  padding: 30px 0 12px 0;
  font-size: 1em;
  text-align: left;
}

.footer a, .site-footer a, .ckan-footer a {
  color: #232323 !important;
  text-decoration: underline;
}

.footer a:hover, .site-footer a:hover, .ckan-footer a:hover {
  color: #ECBE5E !important;
}

/* Remove extra footer shadow if present */
.footer, .site-footer, .ckan-footer {
  box-shadow: none !important;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.my-5 { margin: 3rem 0 !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.d-flex { display: flex !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* ---- Responsive Navbar ---- */
@media (max-width: 800px) {
  .navbar ul, .ckan-header ul, .masthead ul { flex-direction: column; }
  .navbar ul li, .ckan-header ul li, .masthead ul li { margin: 8px 0; }
}

